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
6bf42af4
Commit
6bf42af4
authored
Nov 08, 2018
by
Sébastiaan Versteeg
Browse files
Merge branch 'new-versioning-scheme' into 'master'
Adjust to new versioning scheme See merge request
!1042
parents
dd64bd9c
977b228f
Changes
1
Hide whitespace changes
Inline
Side-by-side
release.sh
View file @
6bf42af4
...
...
@@ -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