Command line arg to override releaseNotes?

Apr 27, 2012 at 1:38 AM

Hi,

 

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?

Thanks.

Developer
Apr 27, 2012 at 3:55 AM

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

e.g.

Package.nuspec:

   ...
   <licenseUrl>$myLicenseUrl$<licenseUrl>

nuget.exe pack Package.nuspec -p myLicenseUrl="http://www.license.org"

Apr 27, 2012 at 4:37 AM

but he asked about releaseNotes, not licenseUrl

Apr 27, 2012 at 4: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 5:22 AM

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