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

Don't add git hash to version if minor==0 #409

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

alexcrichton
Copy link
Collaborator

This commit fixes a minor mistake from #392 where the previous perl script had a special case that if the "minor" version was zero then the git hash information wouldn't be printed.

This commit fixes a minor mistake from WebAssembly#392 where the previous perl
script had a special case that if the "minor" version was zero then the
git hash information wouldn't be printed.
Copy link
Collaborator

@abrown abrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! I should mention here for posterity, since I currently have this paged in: what I called "minor" here is actually not well-named, since I believe what git describe drops into this spot is actually "number of commits since last tag." I guess we'll run into issues if we ever decide to do an actual minor release like wasi-sdk-x.y; for now at least this will emulate what we have been doing.

@abrown abrown merged commit 99abb02 into WebAssembly:main Apr 15, 2024
5 checks passed
@alexcrichton alexcrichton deleted the fix-version-with-zero-minor branch July 31, 2024 14:59
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