@@ -20,7 +20,7 @@ POM_FILE="pom.xml"
20
20
# if the tag is v0.0.1).
21
21
MAJOR=" 1"
22
22
MINOR=" 7"
23
- REVISION=` git --no-replace-objects describe --match v$MAJOR \ .$MINOR `
23
+ REVISION=` git --no-replace-objects describe --match v$MAJOR .$MINOR `
24
24
25
25
# Extract the version number from the string. Do this in two steps so
26
26
# it is a little easier to understand.
@@ -29,14 +29,14 @@ REVISION=${REVISION:0:${#REVISION}-9} # drop the last 9 characters
29
29
30
30
TAG=r$REVISION
31
31
32
- 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 "
33
33
34
34
COMP_FILE=` mktemp /tmp/compiler.clj.XXXXXXXXXXX`
35
35
sed -e ' s/^.def ^:dynamic \*clojurescript-version\*.*$/(def ^:dynamic *clojurescript-version* {:major ' " $MAJOR " ' , :minor ' " $MINOR " ' , :qualifier ' " $REVISION " ' })/' src/main/clojure/cljs/util.cljc > $COMP_FILE
36
36
mv $COMP_FILE src/main/clojure/cljs/util.cljc
37
37
38
38
CLJS_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
40
40
mv $CLJS_FILE src/main/cljs/cljs/core.cljs
41
41
42
42
rm -f src/main/cljs/cljs/core.aot.js
@@ -46,11 +46,11 @@ rm -f src/main/cljs/cljs/core.cljs.cache.aot.edn
46
46
./script/aot_core
47
47
48
48
AOT_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
50
50
mv $AOT_FILE src/main/cljs/cljs/core.aot.js
51
51
52
52
AOT_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
54
54
mv $AOT_CACHE_FILE src/main/cljs/cljs/core.cljs.cache.aot.edn
55
55
56
56
# For Hudson server
0 commit comments