@@ -20,7 +20,7 @@ POM_FILE="pom.xml"
2020# if the tag is v0.0.1).
2121MAJOR="1"
2222MINOR="7"
23-REVISION=`git --no-replace-objects describe --match v$MAJOR\.$MINOR`
23+REVISION=`git --no-replace-objects describe --match v$MAJOR.$MINOR`
24242525# Extract the version number from the string. Do this in two steps so
2626# it is a little easier to understand.
@@ -29,14 +29,14 @@ REVISION=${REVISION:0:${#REVISION}-9} # drop the last 9 characters
29293030TAG=r$REVISION
313132-sed -e s/CLOJURESCRIPT_VERSION/$MAJOR.$MINOR-$REVISION/ < "$POM_TEMPLATE" > "$POM_FILE"
32+sed -e s/CLOJURESCRIPT_VERSION/$MAJOR.$MINOR.$REVISION/ < "$POM_TEMPLATE" > "$POM_FILE"
33333434COMP_FILE=`mktemp /tmp/compiler.clj.XXXXXXXXXXX`
3535sed -e 's/^.def ^:dynamic \*clojurescript-version\*.*$/(def ^:dynamic *clojurescript-version* {:major '"$MAJOR"', :minor '"$MINOR"', :qualifier '"$REVISION"'})/' src/main/clojure/cljs/util.cljc > $COMP_FILE
3636mv $COMP_FILE src/main/clojure/cljs/util.cljc
37373838CLJS_FILE=`mktemp /tmp/core.cljs.XXXXXXXXXXX`
39-sed -e 's/^.def \*clojurescript-version\*.*$/(def *clojurescript-version* '\""$MAJOR.$MINOR-$REVISION"\"')/' src/main/cljs/cljs/core.cljs > $CLJS_FILE
39+sed -e 's/^.def \*clojurescript-version\*.*$/(def *clojurescript-version* '\""$MAJOR.$MINOR.$REVISION"\"')/' src/main/cljs/cljs/core.cljs > $CLJS_FILE
4040mv $CLJS_FILE src/main/cljs/cljs/core.cljs
41414242rm -f src/main/cljs/cljs/core.aot.js
@@ -46,11 +46,11 @@ rm -f src/main/cljs/cljs/core.cljs.cache.aot.edn
4646./script/aot_core
47474848AOT_FILE=`mktemp /tmp/core.aot.js.XXXXXXXXXXX`
49-sed -e 's/0.0-0000/$MAJOR.$MINOR-$REVISION/' src/main/cljs/cljs/core.aot.js > $AOT_FILE
49+sed -e 's/0.0.0000/$MAJOR.$MINOR.$REVISION/' src/main/cljs/cljs/core.aot.js > $AOT_FILE
5050mv $AOT_FILE src/main/cljs/cljs/core.aot.js
51515252AOT_CACHE_FILE=`mktemp /tmp/core.cljs.cache.aot.edn.XXXXXXXXXXX`
53-sed -e 's/0.0-0000/$MAJOR.$MINOR-$REVISION/' src/main/cljs/cljs/core.cljs.cache.aot.edn > $AOT_CACHE_FILE
53+sed -e 's/0.0.0000/$MAJOR.$MINOR.$REVISION/' src/main/cljs/cljs/core.cljs.cache.aot.edn > $AOT_CACHE_FILE
5454mv $AOT_CACHE_FILE src/main/cljs/cljs/core.cljs.cache.aot.edn
55555656# For Hudson server