Is it possible to include the revision number or the name of the tag used for a build on an ASP.NET website when deplo开发者_如何学Cying with CruiseControl.net and subversion?
You can use SubWCRev for this. By integrating it into your build script, you can do keyword replacement in your source, replacing with things like the current revision number.
You can also make use of the svn:keywords property for this. The svn:keywords property works on a file-by-file basis, though, and thus expands to the last revision of the file, as opposed to the last revision of the repository as a whole.
精彩评论