Skip to content

Commit 8afc1a8

Browse files
committed
[ci] fix ci updating prerel version also on tag
1 parent 3240221 commit 8afc1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ prerelease:
7272
REPO_HOST: repo.data.kit.edu
7373
REPO_USER: cicd
7474
script:
75-
- docker run --rm -v $PWD:/tmp/mytoken -w /tmp/mytoken bitnami/git .gitlab-ci-scripts/set-prerel-version
75+
- if [ -z "$CI_COMMIT_TAG" ]; then docker run --rm -v $PWD:/tmp/mytoken -w /tmp/mytoken bitnami/git .gitlab-ci-scripts/set-prerel-version; fi;
7676
- .gitlab-ci-scripts/goreleaser.sh
7777
- .gitlab-ci-scripts/upload.sh
7878
after_script:

0 commit comments

Comments
 (0)