Update 2022-07: This repository is now hosted at https://codeberg.org/wink/leiningen-sdkman
- A Leiningen release (released at https://codeberg.org/leiningen/leiningen/)
- sdkman.io credentials
wgetzip
Don't do this on Windows or WSL, it will mess up permissions!
./package.sh VERSION BUILD_DIR
BUILD_DIRcannot exist yet- this yields a
zipfile inBUILD_DIR/out/
- Release this zip file (manually) in the
leiningen/leiningen-sdkmanrepo 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´
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
export CONSUMER_KEY=x
export CONSUMER_TOKEN=y
./release-default.sh VERSION
export CONSUMER_KEY=x
export CONSUMER_TOKEN=y
./announce-release.sh VERSION