Skip to content

Instantly share code, notes, and snippets.

@queil
Last active October 14, 2020 16:18
Show Gist options
  • Save queil/106e7ce320191047d2e91afcc368098a to your computer and use it in GitHub Desktop.
Save queil/106e7ce320191047d2e91afcc368098a to your computer and use it in GitHub Desktop.
Octopus Deploy supports conditionals in Release Template
#{Octopus.Version.Channel.LastMajor}.#{Octopus.Version.Channel.LastMinor}.#{Octopus.Version.Channel.LastPatch}#{if Octopus.Version.Channel.LastSuffix != "-" }#{Octopus.Version.Channel.LastSuffix}#{/if}.#{Octopus.Version.Channel.NextBuild}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment