Closed Bug 1143608 Opened 9 years ago Closed 9 years ago

Make beta versions matching algorithm support semver

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2015-04

People

(Reporter: TheOne, Assigned: TheOne)

Details

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
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-04
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.