Skip to content

How to bump patch version on each commit to main? #4341

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

You must be logged in to vote

For this you need to use the mainline version strategy which is included in the TrunkBased/preview1 workflow:

workflow: TrunkBased/preview1

Link[1]:
https://gitversion.net/docs/reference/configuration#snippet-/docs/workflows/TrunkBased/preview1.yml

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HHobeck
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