From 5faa03bcf3d1b7afde355d19f97c0000d553eae1 Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Tue, 30 Apr 2024 20:50:27 -0500 Subject: [PATCH] ring-swagger 1.0.0 --- .github/workflows/build.yml | 3 +++ project.clj | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5a20970..1fff1ec9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,6 +74,9 @@ jobs: CLOJARS_TOKEN: "${{ secrets.CLOJARS_DEPLOY_TOKEN }}" COMMIT_MSG: ${{ github.event.head_commit.message }} run: | + git config --global user.email "abonnairesergeant@gmail.com" + git config --global user.name "Ambrose Bonnaire-Sergeant" + if [[ "$COMMIT_MSG" == "Release :major" ]]; then lein release :major elif [[ "$COMMIT_MSG" == "Release :minor" ]]; then diff --git a/project.clj b/project.clj index cc1ae255..a23ab655 100644 --- a/project.clj +++ b/project.clj @@ -7,7 +7,7 @@ :comments "same as Clojure"} :scm {:name "git" :url "https://github.com/metosin/compojure-api"} - :dependencies [[prismatic/plumbing "0.5.5"] + :dependencies [[prismatic/plumbing "0.6.0"] [cheshire "5.9.0"] [compojure "1.6.1"] [prismatic/schema "1.1.12"] @@ -15,7 +15,7 @@ [frankiesardo/linked "1.3.0"] [ring-middleware-format "0.7.4"] [metosin/ring-http-response "0.9.1"] - [metosin/ring-swagger "0.26.2"] + [metosin/ring-swagger "1.0.0"] [metosin/ring-swagger-ui "2.2.10"]] :profiles {:uberjar {:aot :all :ring {:handler examples.thingie/app} @@ -60,10 +60,10 @@ :username [:gpg :env/clojars_user] :password [:gpg :env/clojars_token] :sign-releases false}] - ["releases" {:url "https://clojars.org/repo" - :username [:gpg :env/clojars_user] - :password [:gpg :env/clojars_token] - :sign-releases false}]] + ["release" {:url "https://clojars.org/repo" + :username [:gpg :env/clojars_user] + :password [:gpg :env/clojars_token] + :sign-releases false}]] :release-tasks [["clean"] ["vcs" "assert-committed"] ["change" "version" "leiningen.release/bump-version" "release"]