2022-10-11 16:07:01 +00:00
|
|
|
# Release process for stable release
|
2022-09-08 13:04:17 +00:00
|
|
|
|
2022-10-11 16:07:01 +00:00
|
|
|
``` bash
|
|
|
|
git checkout main # for old projects replace main with master
|
2022-09-08 13:04:17 +00:00
|
|
|
```
|
|
|
|
|
2022-10-11 16:07:01 +00:00
|
|
|
Open package.json, find ":version" keyword and remove "-SNAPSHOT" from version number.
|
|
|
|
|
|
|
|
``` bash
|
2022-09-08 13:04:17 +00:00
|
|
|
lein release
|
|
|
|
git push --follow-tags
|
2022-10-11 16:07:01 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Open package.json again, increase version increment by one and add "-SNAPSHOT".
|
2022-09-08 13:04:17 +00:00
|
|
|
|
2022-10-11 16:07:01 +00:00
|
|
|
``` bash
|
2022-09-08 13:04:17 +00:00
|
|
|
git commit -am "version bump"
|
|
|
|
git push
|
2022-10-11 16:07:01 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Done.
|