Skip to content

Commit 5e7307d

Browse files
committed
Simplified git log date retrieval using format options
1 parent 1eb9974 commit 5e7307d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ VER = sed s/@VERSION/${JQ_VER}/
3232
RHINO = java -jar ${BUILD_DIR}/js.jar
3333
MINJAR = java -jar ${BUILD_DIR}/google-compiler-20091218.jar
3434

35-
DATE=`git log -1 | grep Date: | sed 's/[^:]*: *//'`
35+
DATE=`git log --pretty=format:'%ad' -1`
3636

3737
all: jquery lint min
3838
@@echo "jQuery build complete."

0 commit comments

Comments
 (0)