[X] I have verified this is the correct repository for opening this issue.
[X] I have verified no other issues exist related to my problem.
[X] I have verified this is not an issue for a specific package.
[X] I have verified this issue is not security related.
[X] I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
Trying to build Chocolatey/choco on a branch named 3465-msi causes an error with GitVersion: Index and length must refer to a location within the string. Parameter name: length
Additionally when trying to build on a branch named gh-3465-msi causes the same error.
What is Expected?
Build should complete successfully.
How Did You Get This To Happen?
Create a branch called 3465-msi and attempt to build.
Now create a branch called gh-3465-msi and attempt to build it.
Checklist
What You Are Seeing?
Trying to build Chocolatey/choco on a branch named![image](https://github.com/chocolatey/Chocolatey.Cake.Recipe/assets/30301021/310c97be-78d8-4d86-b1b4-3103143acd63)
3465-msi
causes an error with GitVersion:Index and length must refer to a location within the string. Parameter name: length
Additionally when trying to build on a branch named
gh-3465-msi
causes the same error.What is Expected?
Build should complete successfully.
How Did You Get This To Happen?
3465-msi
and attempt to build.gh-3465-msi
and attempt to build it.System Details
Installed Packages
Output Log
Additional Context
No response