Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Having a + in either Git Branch or Tag will cause the + to be replaced by a <space>

Open paraicoceallaigh opened this issue 6 months ago • 0 comments

Severity

Low - inconvenience for a number of customers

Version

2022.x

Latest Version

I could reproduce the problem in the latest build

What happened?

Customer has reported that using "+" in git reference results in an error but only when re-deploying, not in original deploy. Internal ticket: https://octopus.zendesk.com/agent/tickets/201846

Reproduction

Having a GIt tag with an added code such as SHA etc joined by a "+" results in the "+" being replace by a space on re-deploy E.g. "v2.2.183+61cb218" becomes "v2.2.183 61cb218" and generates an error: "No tag with the name 'refs/tags/v2.2.183 61cb218' exists in the repository". gitref

Error and Stacktrace

No response

More Information

Previous Internal ticket: https://octopus.zendesk.com/agent/tickets/168800

Workaround

Use a different character other than "+"

paraicoceallaigh avatar Sep 04 '24 06:09 paraicoceallaigh