-
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] Getting 'Property 'tag' not found on type 'GitVersion.Configuration.BranchConfiguration'.' when using version 6.0.0 #3789
Comments
@Constantin07 in version 6.x that is still in beta, we made some configuration changes, one of them was to rename the tag to label |
Thanks for details @arturcic . |
what is the last decision here? when I use "tag" instead "label" it doesnt fail, but when I use "continuous-delivery-fallback-tag" instead of "continuous-delivery-fallback-label", it fails. It seems like that it was merged into 5.12.0 version. Can you please update the documentation as well? it is pretty confusing |
and this is also giving error as "System.Runtime.Serialization.SerializationException: Property 'continuous-delivery-fallback-label' not found on type 'GitVersion.Model.Configuration.BranchConfig'." What is the latest stand here v5.12.0? |
It does not seem that all of the props were updated as if I change tag-prefix to label-prefix I get the error: |
@JDCain: The word |
Describe the bug
It works fine with
gittools/gitversion:5.12.0-alpine.3.14-6.0
docker image.It fails with the
gittools/gitversion:6.0.0-alpine.3.17-6.0
docker image.Same GitVersion.yml config file.
Expected Behavior
It should work with newer version too.
Actual Behavior
Getting error:
Possible Fix
Have no idea.
Steps to Reproduce
Config file used:
Jenkins pipeline stage snippet:
Context
Broken pipeline as it cannot generate versions anymore.
Your Environment
Jenkins CI. All requirements are met from https://gitversion.net/docs/reference/build-servers/jenkins.
The text was updated successfully, but these errors were encountered: