-
|
I am just trying to understand how gitversion works. Why do pull request branches have "prevent-increment:of-merge-branch" set to true: I might or might not understand how it actually works, but doesn't it mean that if I have some branch and merge some release/xxx branch into it as an example, the version will be incremented but not when it's viewed through the refs/pull/xxx/{head|merge} ref? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi Michal, Very good question. I don't see any reason why it should be not taken (inherit) from the base branch (target branch). You can easily test this by changing the build in configuration (GitFlow, GitHubFlow and TrunkBasedFlow) and start the unit/integration tests and see which scenario is breaking. Same question applies to: prevent-increment:
of-merged-branch: true
when-current-commit-tagged: false
track-merge-message: true
Cheers! |
Beta Was this translation helpful? Give feedback.
Hi Michal,
Very good question. I don't see any reason why it should be not taken (inherit) from the base branch (target branch). You can easily test this by changing the build in configuration (GitFlow, GitHubFlow and TrunkBasedFlow) and start the unit/integration tests and see which scenario is breaking. Same question applies to:
Cheers!