How to get all commits for packages in current release during deployment?

I would like to get a list of commits in current release during the deployment (in a PowerShell step). Octopus.Release.Package would be perfect, but is unfortunately not available outside of the release notes.

I tried Octopus.Deployment.Changes, however this seems to only include changes compared to last deployment, while I need all changes in the release, whether or not they were deployed previously.

What is the right way to get those during deployment?

My mistake – Octopus.Deployment.Changes do indeed contain the right changes.

1 Like

Hi @andrey.shchekin

No problems. Let us know if you have any further questions or run into any issues.

Best,