diff options
author | Richard D. Worth <rdworth@gmail.com> | 2010-04-08 09:06:46 +0800 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-07-21 22:47:13 +0800 |
commit | 4ec1b743a81256ae15907e46260cfc8edc6f06b8 (patch) | |
tree | f3f7940935a9f74ac91386c498e7cca1c94e4ad6 /build.xml | |
parent | 2e10af143b7eafb7142524f6534a62aee1910bd1 (diff) | |
download | jquery-4ec1b743a81256ae15907e46260cfc8edc6f06b8.tar.gz jquery-4ec1b743a81256ae15907e46260cfc8edc6f06b8.zip |
Simplified getting the commit date using git log --pretty. Fixed missing date in ant build.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,9 @@ <fileset file="src/outro.js" /> </concat> <replaceregexp match="@VERSION" replace="${version}" flags="g" byline="true" file="${JQ}" /> + <exec executable="git" outputproperty="date"> + <arg line="log -1 --pretty=format:%ad"/> + </exec> <replaceregexp match="Date: " replace="Date: ${date}" file="${JQ}" /> <echo message="${JQ} built." /> </target> |