diff --git a/.github/workflows/clojure.yml b/.github/workflows/clojure.yml index 2d3c8d0..fd5cfa1 100644 --- a/.github/workflows/clojure.yml +++ b/.github/workflows/clojure.yml @@ -80,6 +80,12 @@ jobs: lein release :minor elif [[ "$COMMIT_MSG" == "Release :patch" ]]; then lein release :patch + elif [[ "$COMMIT_MSG" == "Release :alpha" ]]; then + lein release :alpha + elif [[ "$COMMIT_MSG" == "Release :beta" ]]; then + lein release :beta + elif [[ "$COMMIT_MSG" == "Release :rc" ]]; then + lein release :rc else lein deploy snapshot fi diff --git a/README.md b/README.md index e238096..1a9ad8c 100644 --- a/README.md +++ b/README.md @@ -446,8 +446,8 @@ One can add extra meta-data, including descriptions to schema elements using `ri To release a version, set the project.clj version to the one you want to release, but with a `-SNAPSHOT` suffix. -Then create a commit reading "Release :{major,minor,patch}" based on whether -you want the next development version to be a major/minor/patch increment. +Then create a commit reading "Release :{major,minor,patch,alpha,beta,rc}" based on whether +you want the next development version to be a major/minor/patch/alpha/beta/rc increment. Push to master, and the GitHub Actions release will release the jar to clojars, then bump the version on the master branch.