Explorar el Código

release script: fix wrong `git push origin <ver>`

Herby Vojčík hace 6 años
padre
commit
06672b57e5
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      internal/release-worker.sh

+ 5 - 5
internal/release-worker.sh

@@ -27,14 +27,14 @@ if [ "$VER" = "0" ]; then :; else
 	git commit -a -m "Recompile (while version set to $VER)"
 fi
 echo -n "Which version are you going to work on? "
-VERF=`head -n 1`
-VER="${VERF}-pre"
-echo "Setting version $VER"
-internal/setversion.sh "$VER"
+WVERF=`head -n 1`
+WVER="${WVERF}-pre"
+echo "Setting version $WVER"
+internal/setversion.sh "$WVER"
 cp package.json package.json.bak
 sed -e 's@/amber.git.*"@/amber.git"@' package.json.bak >package.json
 rm package.json.bak
 git add package.json
-git commit -a -m "Working on $VERF"
+git commit -a -m "Working on $WVERF"
 git push
 echo git push origin $VER