Skip to content
Snippets Groups Projects
Commit 68edf863 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

fixed some issues for CI running on tags

parent 7b67a6ee
No related branches found
No related tags found
No related merge requests found
...@@ -68,9 +68,9 @@ release:singularity: ...@@ -68,9 +68,9 @@ release:singularity:
rules: rules:
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
when: on_success when: on_success
- if: '$CI_COMMIT_BRANCH == "v$TAG"' - if: '$CI_COMMIT_BRANCH == "v@TAG@"'
when: on_success when: on_success
- if: '$CI_COMMIT_TAG == "v$TAG"' - if: '$CI_COMMIT_TAG == "v@TAG@"'
when: on_success when: on_success
script: script:
- cp config/eic.def eic.def - cp config/eic.def eic.def
......
...@@ -24,7 +24,7 @@ if [ "$CI_COMMIT_BRANCH" = "master" ]; then ...@@ -24,7 +24,7 @@ if [ "$CI_COMMIT_BRANCH" = "master" ]; then
TAG="latest" TAG="latest"
PUBLISH="publish-latest publish-stable" PUBLISH="publish-latest publish-stable"
elif [ "$CI_COMMIT_TAG" = "v${VERSION}" ]; then elif [ "$CI_COMMIT_TAG" = "v${VERSION}" ]; then
TARGET=$VERSION TARGET="stable"
TAG=$VERSION TAG=$VERSION
PUBLISH="publish-version" PUBLISH="publish-version"
elif [ "$CI_COMMIT_BRANCH" = "v${STABLE}" ]; then elif [ "$CI_COMMIT_BRANCH" = "v${STABLE}" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment