summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4fd6ef4)
Pull the version number from git tags, rather than a text file in git.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@mugami.com>
SIZZLE_DIR = ${SRC_DIR}/sizzle
QUNIT_DIR = ${TEST_DIR}/qunit
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)
DATE=$(shell git log -1 --pretty=format:%ad)
+++ /dev/null
-1.5.1pre
\ No newline at end of file