summaryrefslogtreecommitdiffhomepage
path: root/devscripts
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-06-24 00:05:02 +0200
committerPhilipp Hagemeister <[email protected]>2013-06-24 00:05:02 +0200
commitd3a8613b6e2fcf09585b1b8b85c8b38fc603c201 (patch)
tree90d7583d3917f8f97f2cd43d5f145f366e3c60cd /devscripts
parent200b3887524a859b770d13f73d418635c9bd7751 (diff)
downloadyoutube-dl-d3a8613b6e2fcf09585b1b8b85c8b38fc603c201.tar.gz
youtube-dl-d3a8613b6e2fcf09585b1b8b85c8b38fc603c201.zip
Improve test skipping functionality
Diffstat (limited to 'devscripts')
-rwxr-xr-xdevscripts/release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/devscripts/release.sh b/devscripts/release.sh
index 20a96c6a9..015372d5e 100755
--- a/devscripts/release.sh
+++ b/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"