Creating a tag does not create a version without prerelease-tags #4183
Replies: 2 comments 7 replies
-
But your branch is v1.0.9. The only branch configuration which maps to this name here is the unknown branch configuration where the label is set to {BranchName}. From the behavior this is expected. The question is: Why is the v1.0.9 used as a branch? Maybe related to: |
Beta Was this translation helpful? Give feedback.
-
I was able to fix that issue by changing I think this qualifies as a bug, so I'll create a bug report for this for better tracking. I hope that's the correct way. Then I'll create a pull request. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I've used GitVersion 5 for a while and it worked like a charm for what I needed. Now I'm trying to recreate the functionality in GitVersion 6 and it's not working as I expect (and as I understand https://gitversion.net/docs/learn/branching-strategies/githubflow/examples).
I've tried many settings in GitVersion.yml but nothing changes. The following is the basic version:
My expectation is:
It works until the last step. When I tag the commit, it would result in a version 1.0.10-v1-0-9.1+0. The problem seems to be that GitVersion takes the "v1.0.9" not only as a tag but also as the current branch (also tried with "1.0.9" as tag as well).
The relevant variables:
This is running as a GitLab workflow using the gitversion:6.0.2-alpine.3.18-8.0 container. I tried to find similar issues and discussions but the ones I found don't seem to describe the same issue. So I'm probably just doing something wrong but I have no clue what that is...
Beta Was this translation helpful? Give feedback.
All reactions