[Skip-CI] Update docs
This commit is contained in:
parent
4a47386714
commit
2625b4fa4c
2 changed files with 33 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue