bump.sh: Allow version tags
This commit is contained in:
parent
0e63e8d326
commit
37918fdfbe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user