Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
b13d2f93
Commit
b13d2f93
authored
Oct 04, 2016
by
eric pellegrini
Browse files
Update run_deploy.sh
parent
28ee36f2
Pipeline
#1007
canceled with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Darwin/Scripts/run_deploy.sh
View file @
b13d2f93
...
...
@@ -11,10 +11,16 @@ ROUGE="\\033[1;31m"
BLEU
=
"
\\
033[1;34m"
VERSION_NAME
=
`
sed
-n
's/__version__.*=.*\"\(.*\)\"/\1/p'
MDANSE/__pkginfo__.py
`
if
[
"
${
CI_BUILD_REF_NAME
}
"
==
"develop"
]
if
[[
${
CI_BUILD_REF_NAME
}
=
~ develop
]]
then
if
[
-n
"
${
WEEKLY_BUILD
}
"
]
then
VERSION_NAME
=
${
VERSION_NAME
}
-
"weekly-"
`
date
+%Y-%m-%d
`
fi
VERSION_NAME
=
${
VERSION_NAME
}
-
`
git rev-parse
--short
HEAD
`
fi
export
VERSION_NAME
##Select the build target
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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