[ISSUE]: Error when upgrading from 5.x to 6: Requested value 'Mainline' was not found. #4132
-
Prerequisites
GitVersion packagegittools/actions GitVersion version6.0 Operating systemLinux What are you seeing?We're using trying to move from the
The GitVersion.yml file in the repo in question is very simple:
This has worked well for us for years using 5.x, is there anything we need to do in order to transition to 6.0? Btw the dropdown "GitVersion package" options doesn't include "docker image". We're not using "gittools/actions" but I had to put something in there. What is expected?I was hoping the build would just work. Steps to ReproduceSee issue description RepositoryFixture TestNo response Output log or link to your CI build (if appropriate).No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@HHobeck can you help here with the correct configuration? |
Beta Was this translation helpful? Give feedback.
-
In the breaking changes documentation the following is written:
and in the configuration documentation:
The preview built-in configuration (experimental usage only) for the TrunkBased workflow uses the Mainline version strategy: workflow: TrunkBased/preview1 Alternatively, you can use the GitHubFlow workflow with mainline version strategy as follows (experimental use only): workflow: GitHubFlow/v1
strategies:
- ConfiguredNextVersion
- Mainline Link 1: BREAKING_CHANGES.md |
Beta Was this translation helpful? Give feedback.
In the breaking changes documentation the following is written:
and in the configuration documentation:
The preview built-in configuration (experimental usage only) for the TrunkBased workflow uses the Mainline version strategy:
Alternatively, you can use the GitHubFlow workflow with mainline version strategy as follows …