From 37918fdfbe215b3166c0730adcc04481676d062c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Mon, 4 Jan 2016 20:48:51 +0100 Subject: [PATCH] bump.sh: Allow version tags --- scripts/bump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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