Reputation: 144
I am using the tool octopus deploy for the CD process. I have a problem, during the release, some members of the team edited the release number manually and deployed So the sequence of the release number has inconsistency.
For example
I am wondering is there any way to validate the release ? or is it possible to make version number read-only?
Upvotes: 0
Views: 444
Reputation: 126
In Octopus, anyone with the ability to create a release can also select the release number at creation time. You can see more about available standard roles and how to customize them in the Octopus documentation here.
There are two recommended approaches:
YEAR.MONTH.DAY.REVISION
release number (e.g the first release of the day is versioned 2022.4.26.0
, the next is 2022.4.26.1
, and so on). With this set as your versioning strategy, you can create a release without a version number specified and it will auto increment the version without intervention.Upvotes: 3