Trigger binary creation when tags are created manually #259
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #258
I created a fresh "prerelease" version (4.7.2-0), and saw that the build was successful. To reproduce the error:
sha
variable on https://github.com/mapbox/ecs-watchbot/blob/master/bin/watchbot-binary-generator.js#L17 to4506f753e0955ee3683e8c396cdeea58e4442c5e
On adding more debugging, I found that the error is thrown when we create tags manually using
git tag -m ....
because these tags look like4.7.0
, whereas the ones created using thenpm version...
command look likev4.7.0
.I've modified the regex to allow numeric tags that are created manually as well, but strongly recommend creating tags using
npm version <patch|minor|major|prerelease>
.Thanks for creating https://github.com/mapbox/ecs-watchbot/pull/256/files @freenerd - it should help clarify a lot of this. 馃檪
cc/ @mapbox/platform-engine-room