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
316d9a24
Commit
316d9a24
authored
Sep 30, 2016
by
Jamie Hall
Browse files
Update run_deploy.sh
parent
3ff88d95
Changes
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/run_deploy.sh
View file @
316d9a24
...
...
@@ -12,9 +12,12 @@ 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
}
=
~ feature-
]]
then
VERSION_NAME
=
${
VERSION_NAME
}
-
`
git rev-parse
--short
HEAD
`
elif
[
-n
"
${
WEEKLY_BUILD
}
"
]
VERSION_NAME
=
${
VERSION_NAME
}
-
"weekly-build-"
`
date
+%Y-%m-%d
`
fi
##Select the build target
...
...
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