From 2625b4fa4cbc7912d2c170a2e9bd1ad7806c9227 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 1 Dec 2022 15:40:22 +0100 Subject: [PATCH] [Skip-CI] Update docs --- README.md | 2 +- doc/Releasing.md | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9657599..4557ed2 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ sha256sum scripts/foo/bar/your-script-file # or this ### resource requests and limits -You may want to adjust the resource requests and limits to your specific scenario. +You may want to adjust the resource requests and limits of the build and init containers to your specific scenario. ## License diff --git a/doc/Releasing.md b/doc/Releasing.md index b7d246c..1be9f88 100644 --- a/doc/Releasing.md +++ b/doc/Releasing.md @@ -13,7 +13,7 @@ git commit lein deploy # or lein deploy clojars ``` -## ... for stable release +## ... for stable release patch version Make sure tags are protected in gitlab: Repository Settings -> Protected Tags -> set \*.\*.\* as tag and save. @@ -40,4 +40,35 @@ git commit -am "version bump" git push ``` +## ... for stable release minor version + +Make sure tags are protected in gitlab: +Repository Settings -> Protected Tags -> set \*.\*.\* as tag and save. + +``` bash +git checkout main # for old projects replace main with master +git add . +git commit +``` + +In package.json, find ":version" keyword and remove "-SNAPSHOT" from version number. +Increment minor version by one, set patch version to zero. + +Open project.clj, find ":version" keyword, increment minor version by one, set patch version to zero. +Leave "-SNAPSHOT" be. + +``` bash +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". + +``` bash +git commit -am "version bump" +git push +``` + Done.