Skip to content

[Feature] Cannot create a version with build metadata #3425

@tyb-dev

Description

@tyb-dev

Describe the bug
A clear and concise description of what the bug is.

Expected Behavior

Create a build with SemVer2 build metadata attached which is specific for a particular release.

Actual Behavior

According to SemVer2, the build metadata may be used to add additional information to a release. GitVersion ignores build metadata in both next-version and git tag.

Possible Fix

When a release tag explicitly includes build metadata, include it in the version string, or allow specifying it via branch name or commit message.

Steps to Reproduce

$ tag 1.0.0+special
$ gitversion
(...)
 "FullSemVer": "1.0.0",

Context

I'd like to create special builds that sometimes come with build metadata.

Your Environment

Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions