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:
|
include:
|
||||||
- template: Security/SAST.gitlab-ci.yml
|
- template: Security/SAST.gitlab-ci.yml
|
||||||
|
|
||||||
upload-clj-prerelease:
|
upload-clj-release:
|
||||||
<<: *clj
|
<<: *clj
|
||||||
stage: upload
|
stage: upload
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null'
|
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG != null'
|
||||||
script:
|
script:
|
||||||
- lein deploy clojars
|
- lein deploy clojars
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
:resource-paths ["src/main/resources"]
|
:resource-paths ["src/main/resources"]
|
||||||
:repositories [["snapshots" :clojars]
|
:repositories [["snapshots" :clojars]
|
||||||
["releases" :clojars]]
|
["releases" :clojars]]
|
||||||
:deploy-repositories [["snapshots" :clojars]
|
:deploy-repositories [["snapshots" {:sign-releases false :url "https://clojars.org/repo"}]
|
||||||
["releases" :clojars]]
|
["releases" {:sign-releases false :url "https://clojars.org/repo"}]]
|
||||||
:profiles {:test {:test-paths ["src/test/cljc"]
|
:profiles {:test {:test-paths ["src/test/cljc"]
|
||||||
:resource-paths ["src/test/resources"]
|
:resource-paths ["src/test/resources"]
|
||||||
:dependencies [[dda/data-test "0.1.1"]]}
|
:dependencies [[dda/data-test "0.1.1"]]}
|
||||||
|
|
Reference in a new issue