diff --git a/scripts/bump.sh b/scripts/bump.sh index 1e19c83..04a9616 100755 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -9,7 +9,7 @@ fi VERSION=$1 -if ! echo $VERSION | grep "^[0-9.]"; then +if ! echo $VERSION | grep -q "^[0-9.]-?.*?$"; then echo "invalid version"; exit 1 fi