Command line arg to override releaseNotes?

Apr 27, 2012 at 2:38 AM



I'm creating my local nuget package using TeamCity and I'm looking for a way to use source control latest checkin message as release notes. Is it possible?

I saw the -Properties parameter but I'm not so sure about how and when to use it.

Anyone can help?


Apr 27, 2012 at 4:55 AM

In your nusepc, use a token in your licenseUrl field then specify a value for the token as a property.




nuget.exe pack Package.nuspec -p myLicenseUrl=""

Apr 27, 2012 at 5:37 AM

but he asked about releaseNotes, not licenseUrl

Apr 27, 2012 at 5:57 AM

@pranavkm : Thank mate, i tried and it works ;)

@dotnetjunky : I hoped it would be similar for releaseNotes. Indeed it works :D haha.


Thank guys

Apr 27, 2012 at 6:22 AM

Yes, I knew it would work for releaseNotes. I just wanted to give pranavkm a hard time.