Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity NuGet Pack - Include Release Notes in Command Line

When using the TeamCity Pack NuGet Build step, there is a little box at the bottom of the page allow ing you to specify additional command line arguments.

I wonder, is there a way to push the VCS logs to the NuGet release notes via the command line?

Or, is there another way to get TeamCity to update NuGet Package release notes to include the VCS commit messages?

enter image description here

like image 697
Dr. Andrew Burnett-Thompson Avatar asked Jan 17 '26 02:01

Dr. Andrew Burnett-Thompson


1 Answers

Not by using the commandline.

I use GitReleaseNotes to generate my release notes from git commits. You could run that before you pack the NuGet Package and include it as readme file for the package or have another build step inbetween that updates in NuSpec from the generated file.

like image 196
JonSquared Avatar answered Jan 19 '26 17:01

JonSquared



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!