Do you avoid auto generated version numbers?
  v1.0 Posted at 31/05/2016 9:21 AM by Danijel Malik

Every release needs to have a version number. However, version numbers need to be generated during the Build phase not the Release.

​Imagine the following scenario: Your Build system generates a NuGet package with version that is pushed to Octopus Deploy NuGet feed. In Octopus Deploy you create a release using the default configuration. When you create a new release you will see 0.0.1 instead of As you can imagine, it is impossible to tell from the release what version number of the application was really deployed. Hence you should change the versioning and use the package version instead.

Bad Example - Version number is auto-generated by Octopus Deploy


Good Example - Version number is inherited from a NuGet package​

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:


    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.