mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 02:55:17 +00:00
Fix release script once more
This commit is contained in:
parent
a3522dfddd
commit
964ac8b584
1 changed files with 4 additions and 3 deletions
|
@ -14,11 +14,12 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
skip_test=false
|
skip_tests=false
|
||||||
if [ "$1" = '--skip-test' ]; then
|
if [ "$1" = '--skip-test' ]; then
|
||||||
skip_test=true
|
skip_tests=true
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
|
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
|
||||||
version="$1"
|
version="$1"
|
||||||
if [ ! -z "`git tag | grep "$version"`" ]; then echo 'ERROR: version already present'; exit 1; fi
|
if [ ! -z "`git tag | grep "$version"`" ]; then echo 'ERROR: version already present'; exit 1; fi
|
||||||
|
|
Loading…
Reference in a new issue