This commit is contained in:
jem 2021-07-09 19:51:17 +02:00
parent 09cd636b1b
commit 365df7370f

View file

@ -42,7 +42,7 @@ upload-clj-prerelease:
<<: *clj
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null'
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null'
script:
- lein deploy clojars
@ -50,7 +50,7 @@ upload-cljs-prerelease:
<<: *clj
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null'
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null'
script:
- mv project.clj project-clj.clj && mv project-cljs.clj project.clj
- lein deploy clojars
@ -59,7 +59,7 @@ upload-clj-release:
<<: *clj
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != null'
script:
- lein deploy clojars
@ -67,7 +67,7 @@ upload-cljs-release:
<<: *clj
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != null'
script:
- mv project.clj project-clj.clj && mv project-cljs.clj project.clj
- lein deploy clojars