Skip to content

[ISSUE]: The version returned is NULL #4155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
MoeHamdan opened this issue Aug 12, 2024 · 1 comment
Closed
2 tasks done

[ISSUE]: The version returned is NULL #4155

MoeHamdan opened this issue Aug 12, 2024 · 1 comment

Comments

@MoeHamdan
Copy link

MoeHamdan commented Aug 12, 2024

Prerequisites

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

GitVersion package

GitVersion.Tool

GitVersion version

6.0.1

Operating system

Linux

What are you seeing?

GitVersion = {
FullSemVer: 1.6.1-1250
LegacySemVer: [NULL]
MajorMinorPatch: 1.6.1
InformationalVersion: 1.6.1-1250+Branch.master.Sha.9f0b84fc6cb09b9b026fd12402dd889306f0d8d5
Nuget v2 version: [NULL]
}
Version to use: [NULL]

What is expected?

Expected to get version value instead of [NULL}

GitVersion = {
FullSemVer: 1.6.1+1250
LegacySemVer: 1.6.1
MajorMinorPatch: 1.6.1
InformationalVersion: 1.6.1+1250.Branch.master.Sha.9f0b84fc6cb09b9b026fd12402dd889306f0d8d5
Nuget v2 version: 1.6.1
}
Version to use: 1.6.1.1250

Steps to Reproduce

Try get value for LegacySemVer or NuGetVersionV2

RepositoryFixture Test

No response

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

No response

@arturcic
Copy link
Member

We deprecated those values, see #4153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants