From: Richard D. Worth Date: Thu, 8 Apr 2010 01:06:46 +0000 (+0800) Subject: Simplified getting the commit date using git log --pretty. Fixed missing date in... X-Git-Tag: 1.4.3rc1~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4ec1b743a81256ae15907e46260cfc8edc6f06b8;p=jquery.git Simplified getting the commit date using git log --pretty. Fixed missing date in ant build. --- diff --git a/Makefile b/Makefile index 612fce1c3..ade631968 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ VER = sed s/@VERSION/${JQ_VER}/ RHINO = java -jar ${BUILD_DIR}/js.jar MINJAR = java -jar ${BUILD_DIR}/google-compiler-20091218.jar -DATE=`git log -1 | grep Date: | sed 's/[^:]*: *//'` +DATE=`git log -1 --pretty=format:%ad` all: jquery lint min @@echo "jQuery build complete." diff --git a/build.xml b/build.xml index 0aeb476d0..ebbcdbe77 100644 --- a/build.xml +++ b/build.xml @@ -60,6 +60,9 @@ + + +