I want to get the nuget package version I get from teamcity to be sent in an email.
Hi @kkumar,
You can reference the package version of a another deployment step with the variable Octopus.Action.Package.PackageVersion
. For example, to reference the package version from the step Package Step
, use:
#{Octopus.Action[Package Step].Package.PackageVersion}
A list of available variables i available from here: https://octopus.com/docs/deployment-process/variables/system-variables
I hope this helps.
Cheers,
Shane