diff --git a/builds/build.clj b/builds/build.clj index 2991fa4..5854673 100644 --- a/builds/build.clj +++ b/builds/build.clj @@ -2,7 +2,7 @@ (:require [clojure.tools.build.api :as b])) (def lib 'org.clojars.rutledgepaulv/piped) -(def version "1.0.2") +(def version "0.1.8") (def class-dir "target/classes") (def basis (b/create-basis {:project "deps.edn"})) (def jar-file (format "target/piped.jar" (name lib) version)) diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..e1d866f --- /dev/null +++ b/release.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +clj -X:build clean +clj -X:build jar +version=$(clj -X:build get-version) + +export CLOJARS_USERNAME="op://Personal/clojars.org/username" +export CLOJARS_PASSWORD="op://Personal/clojars.org/token" + +op run -- mvn deploy:deploy-file \ + -DgroupId="org.clojars.rutledgepaulv" \ + -DartifactId="piped" \ + -Dversion="$version" \ + -Dpackaging="jar" \ + -Dfile="target/piped.jar" \ + -DrepositoryId="clojars" \ + -Durl="https://repo.clojars.org" + +git tag "v$version" +git push origin "refs/tags/v$version" \ No newline at end of file diff --git a/test/piped/utils_test.clj b/test/piped/utils_test.clj index 2e44d01..9a4c6fe 100644 --- a/test/piped/utils_test.clj +++ b/test/piped/utils_test.clj @@ -66,4 +66,4 @@ batch (async/