Development happens on the devel
branch.
- Change the version in
project.clj
- Change the version in
resources/GRAPE_VERSION
- Update the
CHANGELOG.md
- Commit and tag the release
- Merge
devel
intomaster
, and push (including tags) - Check the CI job "Release": it should build the standalone jar and a Linux binary, and add them to a new draft release
- Build the macOS binary by yourself (The CI step to install GraalVM doesn’t support macOS), and add it to the draft release
- On
devel
, bump the version to the next snapshot - Commit and push
- Bump the version in the Homebrew tap
lein do clean, uberjar
You need GraalVM for Java 11. See clj-kondo’s guide to install it.
Build the standalone jar, then run ./bin/compile.sh
.
If everything’s fine, it should generate a top-level grape
standalone binary.
To add a standalone binary to the release, zip it using the version and OS/architecture name, e.g.:
$ zip grape-macos-amd64.zip grape
This reduces the size by ~70%.