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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger binary creation when tags are created manually #259

Merged
merged 2 commits into from
Jul 11, 2018
Merged

Conversation

arunasank
Copy link
Contributor

@arunasank arunasank commented Jul 10, 2018

Fixes #258

I created a fresh "prerelease" version (4.7.2-0), and saw that the build was successful. To reproduce the error:

On adding more debugging, I found that the error is thrown when we create tags manually using git tag -m .... because these tags look like 4.7.0, whereas the ones created using the npm version... command look like v4.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

@arunasank arunasank changed the title Tags Trigger binary creation when tags are created manually Jul 10, 2018
@arunasank arunasank changed the title Trigger binary creation when tags are created manually [wip] Trigger binary creation when tags are created manually Jul 10, 2018
@jakepruitt
Copy link

For consistency, should we add a v if it's missing before writing it to S3?

@arunasank
Copy link
Contributor Author

arunasank commented Jul 11, 2018

For consistency, should we add a v if it's missing before writing it to S3?

I think this would be confusing, since the S3 path to upload the binaries to, is conceived using the tags present on GitHub, and if we are changing the naming of these tags, we're modifying them to be different from the actual GitHub tag. I think we should use the exact same tag string on GitHub.

@arunasank arunasank changed the title [wip] Trigger binary creation when tags are created manually Trigger binary creation when tags are created manually Jul 11, 2018
@arunasank arunasank merged commit 294da6f into master Jul 11, 2018
@arunasank arunasank deleted the tags branch July 11, 2018 03:37
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.

None yet

2 participants