Hi,
Octo.exe release export don’t work for version numbers containing -. 1.0.0-beta is a valid version number, but it’s not possible to export this release since the releaseVersion parameter in the ReleaseExporter command split the export range using “-”.
- should not be used to separate min and max export version since it’s a valid part of the version number.
This behavior should be changed in Octo.exe to allow export of releases with valid version numbers.
We use these -labels a lot in our builds so it would be good if this could be changed. It’s a blocking issue for us since we are not able to export these releases.
Regards,
Jan
Hi Jan,
Thanks for the bug report, I’ve created an issue here to track it:
Paul
Any chance of getting this fixed before 3.0? We are currently not able to export any of the releases we have with a -label.
It should be a quick fix. I looked at the code and it’s only one place you need to change.
Changing ReleaseExporter Split from ‘-’ to ‘:’ or maybe to “->” should fix this.
/Jan
Any news on getting this before 3.0? This is a blocking issue for us.
Anything I can do to help out? I can create a pull request if that helps speeding things up, but I guess the fix is so simple that you probably will spend the same amount of time reviewing the pull request as you would actually fixing the issue yourself
/Jan
Hi Jan,
We will be discussing this issue in our next sprint, so it will be a ‘soon’ release and should be part of the 2.6 early revisions.
Unfortunately, even at a small glance, we believe this is more complicated than a one line change, as it has a bit of a knock on effect.
But it will definitely happen well before 3.0.
Vanessa
Thanks for looking into this
/Jan
Any news on this? It’s still a blocking issue for us
/Jan
Hi Jan,
Sorry for the delay, this has been implemented now - you can use ->
to separate a range of releases. If you try to export a single release with a semver tag it should also work.
You can download a new Octo.exe build here:
https://download.octopusdeploy.com/octopus-tools/2.6.1.46/OctopusTools.2.6.1.46.zip
Paul
Hi,
I’ve tested this now. Works great.
/Jan