You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c4k-website/doc/Releasing.md

790 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

Make sure tags are protected in gitlab: Repository Settings -> Protected Tags -> set *.*.* as tag and save.

git checkout main # for old projects replace main with master
git add .
git commit 

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

git add .
git commit -m "Release [version]"
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.