-
Hey, I am struggling with GitVersion right now. I have this scenario. For previous versions (we have updated GitVersion) there was NugetVersionV2 property which was totally good for me. Right now it is not existing I would like to use "GitVersion.FullSemVer" property, to not complicate other developers (there are about 30 different repos for now that are using GitVersion) but by some reason, all the time I am getting PreReleaseNumber set to I tried multiple different modes for each branch, but still I got PreReleaseNumber set to 1.
This is how my output looks like:
So again, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In mode |
Beta Was this translation helpful? Give feedback.
-
The problem here is that the base workflow Happy Branching! P.s. I don't typically analyze or support custom workflows, as this is very time-consuming and doesn't add value to the project. At this point, I'd like to invite you to sponsor me. |
Beta Was this translation helpful? Give feedback.
The problem here is that the base workflow
GitHub/v1
is applying where a branch configuration for main already existing. I'm not sure what your intension is, but in this workflow the branch is named main not master. Thus your configuration in the master branch section HAS NO EFFECT. Please take a look here. I would recommend you always to specify the used base template by using the workflow property.Happy Branching!
P.s. I don't typically analyze or support custom workflows, as this is very time-consuming and doesn't add value to the project. At this point, I'd like to invite you to sponsor me.