Skip to content

Rename tag to label #1054

@asbjornu

Description

@asbjornu

In GitVersion, a tag is not the same thing as a Git tag, which I find a bit confusing. Wanting to reference a Git tag and use it as the value of the pre-release tag makes it even more confusing. It is currently not possible to do this, but discussions on Gitter might indicate that something like this would be very handy:

branches:
  release:
    tag: useLatestTagLabel

However, it would be easier to understand if we renamed the pre-release tag to label:

branches:
  release:
    label: useFromLatestTag

This would allow for alternating pre-release labels on the same branch, such that a beta could be promoted to rc and stay at rc without having to tag every commit on that branch.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions