1. @auto-it/released
Released plugin for auto. Comments with version + extra
@auto-it/released
Package: @auto-it/released
Created by: intuit
Last modified: Thu, 04 Apr 2024 20:40:19 GMT
Version: 11.1.6
License: MIT
Downloads: 187,728
Repository: https://github.com/intuit/auto

Install

npm install @auto-it/released
yarn add @auto-it/released

Released Plugin

This plugin

  • comments on the merged PR with the new version
  • comments on closed issues with the new version
  • adds a released label to the pull request
  • adds a released label to closed issues

:warning: Make sure that you create the released label on you project

Installation

This plugin is included with the auto CLI so you do not have to install it. To install if you are using the auto API directly:

 npm i --save-dev @auto-it/released
# or
yarn add -D @auto-it/released

Usage

To use the plugin include it in your .autorc

 {
  "plugins": ["released"]
}

Options

Label

Customize the label this plugin attaches to merged pull requests.

 {
  "plugins": [
    [
      "released",
      {
        "label": ":shipit:"
      }
    ]
  ]
}

Prerelease Label

Customize the prerelease label this plugin attaches to pull requests merged to prerelease branches.

 {
  "plugins": [
    [
      "released",
      {
        "prereleaseLabel": "🚧"
      }
    ]
  ]
}

Message

To customize the message this plugin uses on issues and pull requests use the following format.

  • %TYPE - Either PR or Issue
  • %VERSION - The version that was just published
 {
  "plugins": [
    [
      "released",
      {
        "message": "%TYPE went out with version: %VERSION"
      }
    ]
  ]
}

Lock Issue

Lock issues that have been merged in PRs.

 {
  "plugins": [["released", { "lockIssues": true }]]
}

Include Bot Prs

Whether to comment on PRs made by bots.

 {
  "plugins": [["released", { "includeBotPrs": true }]]
}

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code