Deploy a Release - Release Number Variable


(jmccollum) #1

When using a traditional ‘Deploy a package’ step, there is a variable the action which tells you the version number of the package to be deployed (Octopus.Action.Package.PackageVersion). However, when using the Variable Preview for a project that uses ‘Deploy a Release’ steps, I do not see an equivalent value. Is this available, what is the path, and if not could it be added?

(Henrik Andersson) #2


The Deploy a release step uses the same variable Octopus.Action.Package.PackageVersion to specify what release has been chosen for the Deploy a release step. But it doesn’t show up in the Variable Preview.

I hope that helps.

Thank you and best regards,