The previous code did not read the release notes correctly.
This version will correctly read the multiline release notes from this tag in the .csproj file and remove the leading whitespaces as added by formatting of the project file.
<PackageReleaseNotes>
Adding Release Tag, GitHub Release, and NuGet Package Push Support
We are excited to announce the addition of new functionality to our software,
enabling developers to enhance their release management process.
With this update, you can now easily add release tags, create GitHub releases,
and push packages to NuGet for release builds.
Upgrade today to leverage these powerful features and improve your development workflow.
</PackageReleaseNotes>
The previous code did not read the release notes correctly.
This version will correctly read the multiline release notes from this tag in the
.csproj
file and remove the leading whitespaces as added by formatting of the project file.