1
0
Fork 0

We mustn't use minuses in the releases since that will collide later on with packaging.

This commit is contained in:
Wilfried Goesgens 2016-08-30 12:57:08 +02:00
parent c2c774fcc8
commit 9b21d403ea
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ fi
VERSION="$1"
if echo ${VERSION} | grep -q -- '-'; then
echo "${VERSION} mustn't contain minuses! "
exit 1
fi
if git tag | grep -q "^v$VERSION$"; then
echo "$0: version $VERSION already defined"
exit 1