X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=Makefile;h=1e838bb3c7cb1934ea0983c87a44238404b0a341;hp=45d2764e55699e8712589751be1ce14bc059e37d;hb=refs%2Fheads%2Fbuild-fixes;hpb=4fd6ef4adbf15abdb52f2268548b2abc9979d415 diff --git a/Makefile b/Makefile index 45d2764..1e838bb 100644 --- a/Makefile +++ b/Makefile @@ -38,8 +38,8 @@ JQ_MIN = ${DIST_DIR}/jquery.min.js SIZZLE_DIR = ${SRC_DIR}/sizzle QUNIT_DIR = ${TEST_DIR}/qunit -JQ_VER = $(shell cat version.txt) -VER = sed "s/@VERSION/${JQ_VER}/" +GIT_VER = $(shell git describe --tags --always --dirty) +VER = sed "s/@VERSION/${GIT_VER}/" DATE=$(shell git log -1 --pretty=format:%ad)