From 9d106a90ca1e52086d7765edeb3d3679de46f243 Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 25 Feb 2022 10:39:28 +0100 Subject: [PATCH] updated project setup to fit convention --- .gitlab-ci.yml | 8 -------- project.clj | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2ec914..f4b4211 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,14 +96,6 @@ sast: include: - template: Security/SAST.gitlab-ci.yml -upload-clj-prerelease: - <<: *clj - stage: upload - rules: - - if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null' - script: - - lein deploy clojars - release: image: registry.gitlab.com/gitlab-org/release-cli:latest stage: upload diff --git a/project.clj b/project.clj index 6f29334..d5a1006 100644 --- a/project.clj +++ b/project.clj @@ -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"]]}