auto-plugin-release-info
Version:
Auto plugin that outputs info about the latest release
71 lines (53 loc) • 1.6 kB
Markdown
[](https://github.com/intuit/auto)
Generate a PR comment when a new release is available, with a convenient click to copy button. The comment is updated when new versions are published.
Each comment has a custom message based on the type of release, using the [afterShipIt hook](https://intuit.github.io/auto/docs/plugins/release-lifecycle-hooks#aftershipit).
```sh
npm i --save-dev auto-plugin-release-info
yarn add -D auto-plugin-release-info
pnpm add auto-plugin-release-info
```
- Automatically adds release information as comments to PRs
- Updates comments when new versions are published
- Customizable messages based on release type (major, minor, patch, canary)
- Convenient copy-to-clipboard button for version information
- Integrates seamlessly with the Auto release workflow
## Usage
Default:
```jsonc
{
"plugins": [
"release-info"
// other plugins
]
}
```
With options:
```jsonc
{
"plugins": [
[
"release-info",
{
// Defaults to "Release Info"
"context": "Build Info",
"notes": {
"canary": "Please test this version before merging."
}
}
]
// other plugins
]
}
```
When a new canary release is published, a comment like this will be added to the PR:
Your PR was successfully deployed on `Fri, 18 Jul 2025 12:34:56 GMT` with this canary version:
```text
1.2.3-canary.123.0
```