c4k-forgejo/doc/Releasing.md

679 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 

Execute tests

shadow-cljs compile test
node target/node-tests.js
lein test

Release with type (NONE, PATCH, MINOR, MAJOR):

RELEASE_TYPE=[TYPE] pyb prepare_release after_publish

Done.