Skip to content
Snippets Groups Projects
Commit 48a55c9d authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

stick to the old fashioned way for testing environment variables

parent d18e20df
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ variables: ...@@ -177,7 +177,7 @@ variables:
.patch_version: &patch_version .patch_version: &patch_version
before_script: 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"; 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')"; python -c "import fsl.version as v; v.patchVersion('fsl/version.py', '$CI_COMMIT_REF_NAME')";
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment