Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
977b228f
Commit
977b228f
authored
Nov 07, 2018
by
Thom Wiggers
📐
Committed by
Sébastiaan Versteeg
Nov 08, 2018
Browse files
Adjust to new versioning scheme
parent
dd64bd9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
release.sh
View file @
977b228f
...
...
@@ -32,9 +32,9 @@ if [ "$1" = "" ]; then
exit
1
fi
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
echo
"Version should be in the format '1
.23.45
'"
echo
"Version should be in the format '1
2.34
'"
exit
1
fi
version_major
=
${
version
%.*
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment