GitTools / GitVersion

From git log to SemVer in no time
https://gitversion.net/docs/
MIT License
2.87k stars 654 forks source link

[ISSUE]: tag reports [version]--no-branch-.[build] #4228

Closed snovak7 closed 1 month ago

snovak7 commented 1 month ago

Prerequisites

GitVersion package

GitVersion.MsBuild

GitVersion version

6.0.2

Operating system

Windows

What are you seeing?

Trying to update from 5.12.0

When packing a library for a checked out tag I see "--no-branch-" label, even when setting label

What is expected?

if I am on the tag e.g. 'v0.1.0-rc.1' I expect this version to be outputted when packing a nuget library

Steps to Reproduce

Make a tag dotnet pack

RepositoryFixture Test

No response

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

No response