versioncontinuous-deploymentoctopus-deploy

Octopus Release Versioning


I am using Octopus deploy for the CD process. I would like to know the difference between Octopus.Version.NextPatch Vs Octopus.Version.Next. Is there any difference?


Solution

  • #{Octopus.Version.Next} isn't a valid release versioning template variable. The expected format for these variables is

    So, in a project where you have 0.0.2 as the last successful release, #{Octopus.Version.NextPatch} will evaluate to 3, where #{Octopus.Version.Next} will fail to evaluate and remain un-expanded.