Skip to content

Commit

Permalink
chore: Update CONTRIBUTING
Browse files Browse the repository at this point in the history
Signed-off-by: Caijinglong <cjl_spy@163.com>
  • Loading branch information
CaiJingLong committed May 14, 2024
1 parent 5e999c4 commit badfb04
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,20 @@ Please don't change CHANGELOG manually.
All changes will read from the git commit log and automatically generate the CHANGELOG.

Admins can use `melos version` to generate when before release.

We need add type for the git commit message, like `feat: provide a new feature`.

The type can be `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`, `revert`.

See [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for more information.

Also see it in [angular](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type).

## Publish packages to pub.dev for admins

Admins can use `melos version` to generate the version and publish it.

1. Run `melos version` to generate the version. Or use `melos version --yes` to skip the version prompt.
2. Publish, have two ways:
1. Run `melos publish` to publish the packages.
2. Create a new release in GitHub, the GitHub Action will publish the packages.

0 comments on commit badfb04

Please sign in to comment.