Skip to content

kharrop/auto-plugin-release-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-plugin-release-info

Auto Release

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.

Installation

npm i --save-dev auto-plugin-release-info
# or
yarn add -D auto-plugin-release-info
# or
pnpm add auto-plugin-release-info

Features

  • 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:

{
  "plugins": [
    "release-info"
    // other plugins
  ]
}

With options:

{
  "plugins": [
    [
      "release-info",
      {
        // Defaults to "Release Info"
        "context": "Build Info",
        "notes": {
          "canary": "Please test this version before merging."
        }
      }
    ]
    // other plugins
  ]
}

Example PR Comment

When a new canary release is published, a comment like this will be added to the PR:

Release Info

Your PR was successfully deployed on Fri, 18 Jul 2025 12:34:56 GMT with this canary version:

1.2.3-canary.123.0

About

Generate a PR comment when a new release is available

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors