-
Notifications
You must be signed in to change notification settings - Fork 654
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
[Bug] Cannot create a version with build metadata #3425
Comments
Yeah, this seems like a hole we should fill. Pull requests welcome! |
@tyb-dev can you tell us which version did you use ? and also if you have tried the latest beta? https://www.nuget.org/packages/GitVersion.Tool/6.0.0-beta.1 |
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. |
Describe the bug
A clear and concise description of what the bug is.
Expected Behavior
Create a build with SemVer2 build metadata attached which is specific for a particular release.
Actual Behavior
According to SemVer2, the build metadata may be used to add additional information to a release. GitVersion ignores build metadata in both
next-version
andgit tag
.Possible Fix
When a release tag explicitly includes build metadata, include it in the version string, or allow specifying it via branch name or commit message.
Steps to Reproduce
Context
I'd like to create special builds that sometimes come with build metadata.
Your Environment
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: