When I try to deploy a final release package (not a pre-release, they work just fine), the Octopus Deploy variable Octopus.Deployment.PackageBuildInformation is null/missing in my Powershell script step. Also the “Changes” part of the deployment looks messed up, see the included image.
My project gets its release number from a package step. It has no release notes or deployment changes templates configured.
I will next try to use the variable Octopus.Deployment.Changes and see if it is correctly populated. It is more of a hassle to use though as I only want the latest release’s (the one currently being deployed?) BuildInformations. Using Octopus.Release.Package does not work as it does not contain what I want (BuildUrl, VcsCommitNumber etc), unless the documentation is outdated.