bump.sh: Allow version tags

This commit is contained in:
Daniel Gröber 2016-01-04 20:48:51 +01:00
parent 0e63e8d326
commit 37918fdfbe
1 changed files with 1 additions and 1 deletions

View File

@ -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