Skip to content

Tagged commit is not taken as base version #2309

@hana26

Description

@hana26

I am implementing GitVersion for a repository that contains this particular branch: rel-19.1.1 which was an old release branch. However our versions have changed since then and we are now at 5.11.0 and I want this to be the base version going forward. I tagged the commit in which I added GitVersion as a build step with 5.11.0. However when this branch is built, it is still considering 19.1.1 as the base and using that for subsequent increments. How do I enforce GitVersion to use 5.11.0?

In the documentation it says that if the commit is tagged, then that version is accepted as the base version and the next steps aren't called: https://gitversion.net/docs/more-info/version-sources & https://gitversion.net/docs/more-info/how-it-works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions