Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
de60c34b
Commit
de60c34b
authored
May 17, 2016
by
eric pellegrini
Browse files
Update package.sh
parent
9b0f2a3c
Pipeline
#307
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Darwin/Scripts/package.sh
View file @
de60c34b
...
...
@@ -21,7 +21,13 @@ if [ -n "${RUN_NIGHTLY_BUILD}" ]
then
VERSION_NAME
=
"devel"
else
VERSION_NAME
=
${
CI_BUILD_TAG
}
if
[[
${
CI_BUILD_TAG
}
=
~ ^v
([
0-9]+
\.
[
0-9]+
\.
[
0-9]+
)
$
]]
then
VERSION_NAME
=
${
BASH_REMATCH
[1]
}
else
echo
-e
"
$ROUGE
""Invalid version number
${
CI_BUILD_TAG
}
"
"
$NORMAL
"
exit
fi
fi
export
VERSION_NAME
...
...
Write
Preview
Markdown
is supported
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