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
8f485c68
Commit
8f485c68
authored
Sep 30, 2016
by
Jamie Hall
Browse files
Update run_deploy.sh
parent
de1040d7
Pipeline
#988
passed with stages
in 6 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/run_deploy.sh
View file @
8f485c68
...
...
@@ -13,13 +13,14 @@ BLEU="\\033[1;34m"
VERSION_NAME
=
`
sed
-n
's/__version__.*=.*\"\(.*\)\"/\1/p'
MDANSE/__pkginfo__.py
`
echo
"dfjsdhfdshfjkhfkjxhfxj"
${
CI_BUILD_REF_NAME
}
if
[[
${
CI_BUILD_REF_NAME
}
=
~ feature-
]]
if
[[
${
CI_BUILD_REF_NAME
}
=
~ develop
]]
then
VERSION_NAME
=
${
VERSION_NAME
}
-
`
git rev-parse
--short
HEAD
`
elif
[
-n
"
${
WEEKLY_BUILD
}
"
]
then
VERSION_NAME
=
${
VERSION_NAME
}
-
"weekly-build-"
`
date
+%Y-%m-%d
`
if
[
-n
"
${
WEEKLY_BUILD
}
"
]
then
VERSION_NAME
=
${
VERSION_NAME
}
-
"weekly-build-"
`
date
+%Y-%m-%d
`
else
VERSION_NAME
=
${
VERSION_NAME
}
-
`
git rev-parse
--short
HEAD
`
fi
fi
##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