We keep running into issues with our TeamCity build process when it comes to creating releases, specifically around when a release is created but then fails. In TeamCity, we have build steps to build our proejcts, then another build step to package that project for Octo and deploy it. But we have for several years run into the situation where it will create the release in Octo, but something will go wrong () and then you can’t re-run the job because the package number is tied to the revision number (SVN) so because there’s no change, it sees a release with the same values already exist and fails. The solution we’ve been working with now for several years is to either (a) check in a whitespace change so that the revision/package number increases by one, or (b) go into Octo and delete all of the releases that were created (another solution is to just add something like .1 to every release name as well).
There’s a parameter for --ignoreexisting but why is there not one for --replaceexisting where it deletes the release and creates a new one? It’s something we deal with several times a month and would be greatly appreciated if it were added!
Thanks and let me know if you have any questions.