Leiningen packaging for sdkman.io
Go to file
Florian Anderiasch 2df2b59e2d Fix mktemp warning 2022-08-12 10:11:08 +02:00
src Fix mktemp warning 2022-08-12 10:11:08 +02:00
README.md Move to codeberg 2022-07-07 20:45:05 +02:00
announce-release.sh The official release on GH is now a jar. 2021-09-16 18:33:21 +02:00
package.sh Fix package script 2022-08-12 10:00:09 +02:00
release-default.sh Add other steps to README + scripts 2019-02-15 18:42:42 +00:00
release.sh Grab download url from codeberg API 2022-08-11 00:08:16 +02:00

README.md

Leiningen packaging for sdkman.io

Update 2022-07: This repository is now hosted at https://codeberg.org/wink/leiningen-sdkman

Prerequisites

Don't do this on Windows or WSL, it will mess up permissions!

Packaging

./package.sh VERSION BUILD_DIR
  • BUILD_DIR cannot exist yet
  • this yields a zip file in BUILD_DIR/out/

Uploading

  • Release this zip file (manually) in the leiningen/leiningen-sdkman repo with a new tag (autocreate is fine)
  • attention: the name needs to match the version, e.g. ´.../releases/download/2.9.0-beta1/leiningen-2.9.0-beta1.zip´

Releasing a candidate

To release a candidate version on sdkman:

export CONSUMER_KEY=x
export CONSUMER_TOKEN=y

./release.sh VERSION

Now this can be tested via sdk install leiningen VERSION.

The next steps are documented here: https://sdkman.io/vendors

Making the release the default release

export CONSUMER_KEY=x
export CONSUMER_TOKEN=y

./release-default.sh VERSION

Announcing the release at sdkman

export CONSUMER_KEY=x
export CONSUMER_TOKEN=y

./announce-release.sh VERSION