Set release notes during the deployment process

Hi.

I need to update release notes as a part of the deployment process.
I’ve got workitem and changeset information stored as metadata inside nuget packages and I would like to set the release notes for the current release.

Does it make sense to update the release notes during the deployment process and if so, how would I proceed?

Could I add a “Run a Script” step and update the current release from Powershell?

Regards,
Sigurbjörn

Hi,

Thanks for reaching out. I’ve made this script that uses the REST API to update the release notes during a deployment https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Release_UpdateReleaseNotes.ps1

You’re gonna need to setup yourself the values of the 3 variables declared at the top of the script.

Thanks,

Dalmiro

Hi, thanks for the help :slight_smile:

Kveðja,
Sigurbjörn