Skip to content

Commit

Permalink
[ci] fix ci updating prerel version also on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed Nov 11, 2022
1 parent 3240221 commit 8afc1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ prerelease:
REPO_HOST: repo.data.kit.edu
REPO_USER: cicd
script:
- docker run --rm -v $PWD:/tmp/mytoken -w /tmp/mytoken bitnami/git .gitlab-ci-scripts/set-prerel-version
- 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;
- .gitlab-ci-scripts/goreleaser.sh
- .gitlab-ci-scripts/upload.sh
after_script:
Expand Down

0 comments on commit 8afc1a8

Please sign in to comment.