Package auto-increment pattern ignores correct build numbers #1776
Labels
kind/enhancement
This issue represents an enhancement we are committed to adding to Octopus as some time
Milestone
Background
Assume I have an existing package,
1.2.2
and I create a release via some mechanism (in this example octopack) using the provided package number1.2.i
.The generated new release will be
1.2.3
Issued again then the release will correctly be
1.2.4
.If however I then request a new release, bumping the major number (
2.0.i
) the generated version is2.0.5
. This is because it looks like it just uses the build component of the latest generated build regardless of the build number components in the provided pattern. There actually were no2.0.0
-2.0.4
If I also then decide I need to build a release back from the previous major, passing in again
1.2.i
It will then generate a build number1.2.6
(next revision increment from last build of 2.0.5).Since 2.0.5 > 1.2.6, now no matter how many times I try to create a release using
1.2.i
it will always return1.2.6
, meaning only the first time succeeds and all other times will fail saying that it has already been used.Proposed Solution
Source
http://help.octopusdeploy.com/discussions/questions/5177-auto-increment-release-number
The text was updated successfully, but these errors were encountered: