Created
March 10, 2012 07:46
-
-
Save 65/2010739 to your computer and use it in GitHub Desktop.
How to get the SVN revision number for use in ANT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="revisionnumber"> | |
<!-- get the svn revision number --> | |
<svn> | |
<status path="application.cfm" revisionProperty="svn.revision" /> | |
</svn> | |
<echo> | |
Sandbox Revision: ${svn.revision} | |
</echo> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment