Skip to content

Commit

Permalink
Add documentation for how to release
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Dec 25, 2024
1 parent 08a0a59 commit d82001a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ Use this command below to preview the release note:
```shell
SI_REPOSITORY_TOKEN='your-repo-token' npm run preview
```

## Release

1. Update the `version` field in `package.json`
2. Run `npm install` to apply all `package.json` changes to `package-lock.json`
3. Create a commit to `master` branch with the `Release v{major}.{minor}.{patch}` commit message, and push the commit
4. Create a release on the latest commit, the release tag should be `v{major}.{minor}.{patch}`
5. Switch to the `v{major}` branch, rebase the `master` branch to `v{major}` branch, and push to the remote

0 comments on commit d82001a

Please sign in to comment.