Skip to content

Commit 5f2c402

Browse files
committed
Add the current git version to the build process when its not a stable build
1 parent 8c6498f commit 5f2c402

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ CSSTHEMEFILES = css/themes/${THEME}/jquery.mobile.theme.css
5858
# Helper Variables
5959
# The command to replace the @VERSION in the files with the actual version
6060
VER = sed "s/v@VERSION/$$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd")/"
61-
VER_MIN = "/*! jQuery Mobile v${VER_OFFICIAL} jquerymobile.com | jquery.org/license */"
61+
VER_MIN = "/*! jQuery Mobile v$$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd") jquerymobile.com | jquery.org/license */"
6262
VER_OFFICIAL = $(shell cat version.txt)
6363
deploy: VER = sed "s/v@VERSION/${VER_OFFICIAL}/"
64+
deploy: VER_MIN = "/*! jQuery Mobile v${VER_OFFICIAL} jquerymobile.com | jquery.org/license */"
6465

6566
# The output folder for the finished files
6667
OUTPUT = compiled

0 commit comments

Comments
 (0)