Make beta versions matching algorithm support semver

VERIFIED FIXED in 2015-04

Status

VERIFIED FIXED
4 years ago
3 years ago

People

(Reporter: TheOne, Assigned: TheOne)

Tracking

unspecified
2015-04

Details

(Assignee)

Description

4 years ago
https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/package_json says jpm wants add-ons to have a valid semver (http://semver.org/).

We need to update our algorithm that recognizes alpha, beta, etc. versions to match what semver defines.

In particular, we curently don't recognize the following format as a beta version:

1.5.3-beta.5

However, we need to stay backwards compatible, so we also match versions like:

1.5.3-beta
1.5.3-beta5
Fixed in https://github.com/mozilla/olympia/commit/8cefaa16d8dabe43df0836e1ae940e901cbedaf2

STR: submit addons with such version numbers, and make sure they are detected as beta.
Assignee: nobody → mail
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-04

Comment 3

3 years ago
Verified as fixed for all types of version from above. Beta version was detected for all of them.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.