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
FSL
fslpy
Commits
48a55c9d
Commit
48a55c9d
authored
Jun 07, 2017
by
Paul McCarthy
🚵
Browse files
stick to the old fashioned way for testing environment variables
parent
d18e20df
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
48a55c9d
...
...
@@ -177,7 +177,7 @@ variables:
.patch_version
:
&patch_version
before_script
:
-
if [
-n ${
CI_COMMIT_TAG
+set}
]; then
-
if [
[ "x$
CI_COMMIT_TAG
" != "x" ]
]; then
echo "Release detected - patching version - $CI_COMMIT_REF_NAME";
python -c "import fsl.version as v; v.patchVersion('fsl/version.py', '$CI_COMMIT_REF_NAME')";
fi
...
...
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