Leiningen packaging for sdkman.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Florian Anderiasch 2df2b59e2d Fix mktemp warning 4 months ago
src Fix mktemp warning 4 months ago
README.md Move to codeberg 5 months ago
announce-release.sh The official release on GH is now a jar. 1 year ago
package.sh Fix package script 4 months ago
release-default.sh Add other steps to README + scripts 4 years ago
release.sh Grab download url from codeberg API 4 months ago

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