RE: C# AssemblyInfo integration
From: Bob Archer <bob.archer_at_amsi.com>
Date: Thu, 27 Aug 2009 09:57:47 -0400
> I would like to use the SVN revision of a source code as the 4th part
So, commit it. This is what our build does... we use the build number not the svn revision number since it is meaningless because we have multiple projects in the same repository. So, get the revision with svnversion and use it to build/update your AssemblyInfo file(s). You can choose whether to commit your AssemblyInfo changes or not. We do commit it. Make sure you tell your CI server to ignore changes to those files so they won't trigger another build, or your builds will just keep firing.
I recall reading somewhere that CruiseControl.Net supported a labler that used the svn revision... but I can't seem to find that right now.
BOb
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.