Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ if [ -n "$FILES" ]; then
fi
```

## Releasing

This project uses [release-please](https://github.com/googleapis/release-please) to automate releases. Commits merged to `main` with `fix:` trigger patch releases, `feat:` triggers minor releases, and `feat!:` or `fix!:` triggers major releases.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] This sentence states major releases are triggered only by feat!: or fix!:. With conventional commits/release-please, a breaking change can also be indicated by a BREAKING CHANGE: footer even without the !, which would still trigger a major release. This doc would mislead for commits that use the footer form; consider mentioning BREAKING CHANGE as another major trigger.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The footers are for multiple entries in a single commit/PR. Let's keep it simple and go with the simple prefixes: https://github.com/googleapis/release-please#how-should-i-write-my-commits


When commits land on `main`, release-please creates a release PR. Merging it publishes to npm and GitHub Packages.

## License

Released under the [MIT License](https://opensource.org/licenses/MIT).