Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add the current git version to the build process when its not a stabl…

…e build
  • Loading branch information...
commit 5f2c4025ad07cdd23377d1238c74010bd42feb6d 1 parent 8c6498f
@eddiemonge eddiemonge authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Makefile
View
3  Makefile
@@ -58,9 +58,10 @@ CSSTHEMEFILES = css/themes/${THEME}/jquery.mobile.theme.css
# Helper Variables
# The command to replace the @VERSION in the files with the actual version
VER = sed "s/v@VERSION/$$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd")/"
-VER_MIN = "/*! jQuery Mobile v${VER_OFFICIAL} jquerymobile.com | jquery.org/license */"
+VER_MIN = "/*! jQuery Mobile v$$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd") jquerymobile.com | jquery.org/license */"
VER_OFFICIAL = $(shell cat version.txt)
deploy: VER = sed "s/v@VERSION/${VER_OFFICIAL}/"
+deploy: VER_MIN = "/*! jQuery Mobile v${VER_OFFICIAL} jquerymobile.com | jquery.org/license */"
# The output folder for the finished files
OUTPUT = compiled
Please sign in to comment.
Something went wrong with that request. Please try again.