From 1c6e7d9a1481cb0de720d273cbcbbbf83256274b Mon Sep 17 00:00:00 2001 From: jerger Date: Fri, 25 Feb 2022 10:38:59 +0100 Subject: [PATCH] remove automated prerelease upload --- .gitlab-ci.yml | 4 ++-- project.clj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d82aeda..572a8e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,11 +92,11 @@ sast: include: - template: Security/SAST.gitlab-ci.yml -upload-clj-prerelease: +upload-clj-release: <<: *clj stage: upload rules: - - if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null' + - if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != null' script: - lein deploy clojars diff --git a/project.clj b/project.clj index c66dd5b..181d746 100644 --- a/project.clj +++ b/project.clj @@ -12,8 +12,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"]]}