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
Branches
Tags
No related merge requests found
......@@ -68,9 +68,9 @@ release:singularity:
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_BRANCH == "v$TAG"'
- if: '$CI_COMMIT_BRANCH == "v@TAG@"'
when: on_success
- if: '$CI_COMMIT_TAG == "v$TAG"'
- if: '$CI_COMMIT_TAG == "v@TAG@"'
when: on_success
script:
- cp config/eic.def eic.def
......
......@@ -24,7 +24,7 @@ if [ "$CI_COMMIT_BRANCH" = "master" ]; then
TAG="latest"
PUBLISH="publish-latest publish-stable"
elif [ "$CI_COMMIT_TAG" = "v${VERSION}" ]; then
TARGET=$VERSION
TARGET="stable"
TAG=$VERSION
PUBLISH="publish-version"
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