Commit 6bf42af4 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'new-versioning-scheme' into 'master'

Adjust to new versioning scheme

See merge request !1042
parents dd64bd9c 977b228f
...@@ -32,9 +32,9 @@ if [ "$1" = "" ]; then ...@@ -32,9 +32,9 @@ if [ "$1" = "" ]; then
exit 1 exit 1
fi fi
version="$1" version="$1"
version_sane="$(echo $version | sed -Ee 's/^[0-9]\.[0-9]{1,}\.[0-9]{1,}$/YES/')" version_sane="$(echo $version | sed -Ee 's/^[0-9]{1,}\.[0-9]{1,}$/YES/')"
if [ "$version_sane" != "YES" ]; then if [ "$version_sane" != "YES" ]; then
echo "Version should be in the format '1.23.45'" echo "Version should be in the format '12.34'"
exit 1 exit 1
fi fi
version_major=${version%.*} version_major=${version%.*}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment