mirror of https://gitee.com/bigwinds/arangodb
We mustn't use minuses in the releases since that will collide later on with packaging.
This commit is contained in:
parent
c2c774fcc8
commit
9b21d403ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue