Permalink
Browse files

Update build scripts to allow more flexable version naming

  • Loading branch information...
1 parent 35eb55f commit 42d6d1dc771dda63eed2691a9c60cf55892c47b2 @cibomahto cibomahto committed May 27, 2011
Showing with 3 additions and 6 deletions.
  1. +1 −2 dist-linux.sh
  2. +1 −2 dist-mac.sh
  3. +1 −2 dist-windows.sh
View
@@ -1,7 +1,6 @@
#!/bin/sh
-#REVISION=`head -c 4 todo.txt`
-REVISION=`head -n 1 changelog.txt | sed 's/[^0-9]//g'`
+REVISION=`head -n 1 changelog.txt | cut -f 1 -d " "`
rm -rf dist
ant clean
View
@@ -1,7 +1,6 @@
#!/bin/sh
-#REVISION=`head -c 4 todo.txt`
-REVISION=`head -n 1 changelog.txt | sed 's/[^0-9]//g'`
+REVISION=`head -n 1 changelog.txt | cut -f 1 -d " "`
rm -rf dist
ant clean
View
@@ -1,7 +1,6 @@
#!/bin/sh
-#REVISION=`head -c 4 todo.txt`
-REVISION=`head -n 1 changelog.txt | sed 's/[^0-9]//g'`
+REVISION=`head -n 1 changelog.txt | cut -f 1 -d " "`
rm -rf dist
ant clean

0 comments on commit 42d6d1d

Please sign in to comment.