diff options
Diffstat (limited to 'release.sh')
| -rwxr-xr-x | release.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..70f67b5 --- /dev/null +++ b/release.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +set -ex + +clojure -Spom +clojure -M:test +clojure -M:jar +clojure -X:release ivarref.pom-patch/clojars-repo-only! +VERSION=$(clojure -X:release ivarref.pom-patch/set-patch-version! :patch :commit-count+1) + +git add pom.xml +git commit -m "Release $VERSION" +git tag -a v$VERSION -m "Release v$VERSION" +git push --follow-tags + +clojure -M:deploy + +echo "Released $VERSION" + +rm *.pom.asc
\ No newline at end of file |
