This commit is contained in:
parent
09cd636b1b
commit
365df7370f
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue