fix release uploads

This commit is contained in:
jerger 2022-02-25 10:24:40 +01:00
parent cce0d19c4b
commit 9845206446

View file

@ -104,6 +104,14 @@ upload-clj-prerelease:
script: script:
- lein deploy clojars - lein deploy clojars
upload-clj-release:
<<: *clj
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG != null'
script:
- lein deploy clojars
release: release:
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
stage: upload stage: upload