Skip to content

Forcing Mainline to Bump versions without any commits/changes. #3584

Answered by HHobeck
BenB196 asked this question in Q&A
Discussion options

You must be logged in to vote

Okay thank you for outlining it. It gives me a better understanding for what you want. :)

I think this test is what I want to do, but looking at the test, I don't think it is possible.

GitVersion is a tool to determine the semantic version based on the current state of the repository. If you have no changes in the repository then the same configuration yields to the same result (deterministic). The pre-release number reflects the number of commits which have been made from the base version of the previous release. Without additional commits the pre-release number will be remain the same even if you change the next-version number. The only way I can think of is:

  • create an empty commit l…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@BenB196
Comment options

@HHobeck
Comment options

@HHobeck
Comment options

@BenB196
Comment options

@BenB196
Comment options

Comment options

You must be logged in to vote
1 reply
@BenB196
Comment options

Answer selected by BenB196
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants