dotnet pack fails from feature branch as version variables are set incorrectly / {BranchName} is not unescaped #4737
Unanswered
MichaelSteinecke
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
GitVersion package
GitVersion.Tool
GitVersion version
6.4.0
Operating system
Windows
What are you seeing?
In my pipeline, which has been migrated from 5.2.0 to 6.4.0, the creation of the NuGet Package fails with this error
PackageVersion string specified '6.9.0-{BranchName}.1+54' is invalid.:Generated output:
After I removed the
feature/from the refspec, the variables have been calculated correctly.My config:
What is expected?
A valid NuGetPackage and correctly set variables for branch
feature/15357-Launcher-Refactoring.Steps to Reproduce
I believe the behavior is due to the branch name
branch
feature/15357-Launcher-Refactoringfailsbranch
15357-Launcher-Refactoringsucceeds.RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
https://pastebin.com/DdsQvFGv
Beta Was this translation helpful? Give feedback.
All reactions