Explorar el Código

Improve test skipping functionality

Philipp Hagemeister hace 12 años
padre
commit
d3a8613b6e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      devscripts/release.sh

+ 2 - 1
devscripts/release.sh

@@ -15,8 +15,9 @@
 set -e
 
 skip_test=false
-if [ "$2" = '--skip-test' ]; then
+if [ "$1" = '--skip-test' ]; then
     skip_test=true
+    shift
 fi
 if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
 version="$1"