Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX BETA RELEASE] ensure commit based versioning passes semver #6419

Merged
merged 1 commit into from
Sep 10, 2019

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Sep 10, 2019

At some point recently npm installs began semver validating package versions. The versions we were producing for builds for individual commits failed validation because we required a - or + before the sha.

Based on the precedence rules outlined here: https://github.com/semver/semver/blob/master/semver.md

I've updated our versioning from x.x.x.<SHA> to x.x.x+sha.<SHA>

for beta/canary branches the -beta and -alpha pre-release identifier will already be present

@runspired runspired requested a review from rwjblue September 10, 2019 18:55
bin/-tarball-info.js Outdated Show resolved Hide resolved
@runspired runspired force-pushed the bugfix/semver-commit-packages branch 2 times, most recently from 6b65bb9 to c91d0be Compare September 10, 2019 19:03
@runspired runspired force-pushed the bugfix/semver-commit-packages branch from c91d0be to bf7f0db Compare September 10, 2019 20:59
@runspired runspired force-pushed the bugfix/semver-commit-packages branch from bf7f0db to d795598 Compare September 10, 2019 21:04
@runspired runspired merged commit 43f531c into master Sep 10, 2019
@delete-merged-branch delete-merged-branch bot deleted the bugfix/semver-commit-packages branch September 10, 2019 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants