c4k-website/doc/Releasing.md
2022-10-21 11:33:25 +02:00

613 B

Release process

... for testing (snapshots)

Make sure your clojars.org credentials are correctly set in your ~/.lein/profiles.clj file.

git add .
git commit
lein deploy # or lein deploy clojars

... for stable release

git checkout main # for old projects replace main with master

Open package.json, find ":version" keyword and remove "-SNAPSHOT" from version number.

lein release
git push --follow-tags

Open package.json again, increase version increment by one and add "-SNAPSHOT".

git commit -am "version bump"
git push

Done.