Include revision or tag name on website pages (ASP.NET) when deployed with CruiseControl.net and subversion

Is it possible to include the version number or tag name used for a build in an ASP.NET website when deploying with CruiseControl.net and subversion?

+2


a source to share


1 answer


You can use SubWCRev for this. By integrating it into your build script, you can perform keyword substitution in your source, replacing things like the current version number.



You can also use the svn: keywords property for this. However, the svn: keywords property is file-specific and thus expands to the latest version of the file, as opposed to the latest version of the repository as a whole.

+1


a source







All Articles