Skip to content
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

CreateOctopusRelease@6 has url encoding bug in link to created release #323

Open
ArturDorochowicz opened this issue Jan 15, 2024 · 0 comments

Comments

@ArturDorochowicz
Copy link
Contributor

When using CreateOctopusRelease@6 the link to the created release is incorrectly url encoded.

I have an Azure DevOps pipeline where I use CreateOctopusRelease@6 task to create a release in Octopus. When the task runs, it adds a link to the created release in the Extensions tab. If I use the task to create a release with number using SemVer with build metadata scheme, e.g. 1.2.3+test, the generated link to release in Octopus is invalid, because the + sign is incorrectly encoded in the url.

The generated, incorrect link looks like this:

<a href="[...]/deployments/releases/1.2.3 test" [...]>Release 1.2.3+test created for 'My Project'</a>

When you follow it, Octopus shows a page saying Release '1.2.3 test' for project 'My Project' was not found.

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

No branches or pull requests

1 participant