Can't figure out whats wrong #4346
-
Hi there,
I use GitVersion 6.0.5. These are the steps in my azure pipeline until this happens:
My GitVersion.yml
Output of
Before the update from 5.12 everything works fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The problem is that some branches are set to Inherit and the algorithm cannot determine what value of is-main-branch is (because of the nature of the algorithm): Try the Link [1]: https://gitversion.net/docs/reference/configuration#snippet-/docs/workflows/TrunkBased/preview1.yml |
Beta Was this translation helpful? Give feedback.
The problem is that some branches are set to Inherit and the algorithm cannot determine what value of is-main-branch is (because of the nature of the algorithm):
Try the
TunkBased/preview1
workflow instead or change the configuration to ensure that the is-main-branch value is known.Link [1]: https://gitversion.net/docs/reference/configuration#snippet-/docs/workflows/TrunkBased/preview1.yml