Skip to content

Commit

Permalink
support releasing alphas etc
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Dec 20, 2023
1 parent 75da4a7 commit 14b557e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 14b557e

Please sign in to comment.