Fixed release pipeline
This commit is contained in:
parent
3618694e8d
commit
4edeb4932c
2 changed files with 4 additions and 4 deletions
|
@ -96,11 +96,11 @@ sast:
|
|||
include:
|
||||
- template: Security/SAST.gitlab-ci.yml
|
||||
|
||||
upload-clj-prerelease:
|
||||
upload-clj-release:
|
||||
<<: *clj
|
||||
stage: upload
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null'
|
||||
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG != null'
|
||||
script:
|
||||
- lein deploy clojars
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
:resource-paths ["src/main/resources"]
|
||||
:repositories [["snapshots" :clojars]
|
||||
["releases" :clojars]]
|
||||
:deploy-repositories [["snapshots" :clojars]
|
||||
["releases" :clojars]]
|
||||
:deploy-repositories [["snapshots" {:sign-releases false :url "https://clojars.org/repo"}]
|
||||
["releases" {:sign-releases false :url "https://clojars.org/repo"}]]
|
||||
:profiles {:test {:test-paths ["src/test/cljc"]
|
||||
:resource-paths ["src/test/resources"]
|
||||
:dependencies [[dda/data-test "0.1.1"]]}
|
||||
|
|
Reference in a new issue