Cannot get GitVersion 6.1 to work with prerelease label from git tag #4423
-
So far, we are using GitVersion 5.12.0 and the VS build task. Now we tried GitVersion 6.1 and could not get it to work having the “preview-1” tag taken automatically from the git tag of the current commit. Our gitversion.yml file for GitVerstion 5.12.0: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is not possible. In the new version (6.x) of GitVersion, pre-release tags are only considered when they matching with the label property. You can change the behavior and set the label branch property (and the fallback property on the root) to null (by just define Happy Branching! |
Beta Was this translation helpful? Give feedback.
This is not possible. In the new version (6.x) of GitVersion, pre-release tags are only considered when they matching with the label property. You can change the behavior and set the label branch property (and the fallback property on the root) to null (by just define
label:
in yaml). But this has the conseqence that your branch name will be not used regulary as pre-release label.Happy Branching!