Skip to content

Commit ca72e55

Browse files
committed
chore: Add HOW_TO_MAKE_RELEASE.md instructions
1 parent fb8de45 commit ca72e55

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

HOW_TO_MAKE_RELEASE.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Are you considering to prepare a PR to create a new release?
2+
3+
**Create a new PR, while inside the PR branch:**
4+
* Open package.json, change version number accordingly. (E.g. 1.0.1)
5+
* Run `npm run generate-changelog`.
6+
* Open package.json again, reset number back to previous version. (E.g. 1.0.0)
7+
* Commit and push the two generated files, `CHANGELOG.md` & `src/routes/changelogs/changelogs.html`.
8+
9+
Squash branch into main with commit message `chore: Changelogs for v1.0.1`.
10+
11+
**Switch to main branch:**
12+
* Run `npm version <stuff>`, currently it's `npm version prerelease --preid beta` but eventually stick to patch, minor and major.
13+
* Push generated commit.
14+
* Run `git push origin tag v1.0.1` to publish tag.
15+
16+
Done. 🎉

0 commit comments

Comments
 (0)