Browse Source

clean checkout; correct -pre version set

Herbert Vojčík 10 years ago
parent
commit
489502ab90
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/release.sh

+ 2 - 2
bin/release.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 cd `dirname "$0"`/..
-echo git reset --hard
+echo rm -rf *
 echo git checkout master
 echo -n "Which version are you going to publish [0 to skip]? "
 VER=`head -n 1`
@@ -17,7 +17,7 @@ if [ "$VER" = "0" ]; then :; else
 fi
 echo -n "Which version are you going to work on? "
 VERF=`head -n 1`
-VER="${VER}-pre"
+VER="${VERF}-pre"
 echo "Setting version $VER"
 bin/setversion.sh "$VER"
 cp package.json package.json.bak