Skip to content

[ISSUE]: Error when upgrading from 5.x to 6 #4131

@trondhindenes

Description

@trondhindenes

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

gittools/actions

GitVersion version

6.0

Operating system

Linux

What are you seeing?

We're using trying to move from the gittools/gitversion:5.12.0-ubuntu.20.04-6.0 docker image to the newest one gittools/gitversion:6.0.0-ubuntu.24.04-8.0. However, we're getting this exception when running our builds with the newest image:

Could not build the configuration instance because following exception occurred: 'Requested value 'Mainline' was not found.' Please ensure that the /overrideconfig parameters are correct and the configuration file is in the correct format.

The GitVersion.yml file in the repo in question is very simple:

---
mode: Mainline

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 Reproduce

See issue description

RepositoryFixture Test

No response

Output log or link to your CI build (if appropriate).

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions