Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rng-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rng-cli

A release notes generator to help you in your daily work

  • 1.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

📝 release-notes-generator

Easily generate changelog files.

Getting Started

Install

We assume that you already have node v14.0.0 or higher installed.

To install rng just run:

npm i -g rng-cli

Or if you prefer:

yarn global add rng-cli

Usage

Run rng --help to see all available parameters.

Available commands

  • withGitHub: Generates release notes from GitHub
  • withLocalFile: Generates release notes from a local file, by default it tries to read CHANGELOG.md.

Available options

Available options for each command

withGitHub

  • -o, --organizationName: The name of the GitHub organization where your project is placed.
  • -p, --projectNumber: The number of the project in which your cards are beeing shown. This number can be found at the URL of the project.
  • -t, --token: Your personal token. Don't forget to give org and repo admin permission.
  • -l, --label: Pass any valid label if you want to filter your return with one.
  • -c, --column: Pass the name of the colon that you want to use to generate the data. This is required.
  • -r, --repository: Pass the name of the repository that you want to filter cards.
  • -s, --isSorted: Use to asc sort by card issue number.
  • -m, --milestone: Pass any valid milestone if you want to filter your return with one. The default value is null, when null return all cards. If you only want to return cards that do not have a milestone, send __NONE__ as parameter.

withLocalFile

  • -f, --file: The path to the file where the changelog is located. Default is CHANGELOG.MD

Other info

When you are using withLocalFile command, remember to separate each version with the separator ---, the scripts will base the result of your changelog on it.

Ex:

0003 My third change

---

<!-- Release 2.2.0 -->

0002 My second change
0001 My first change

If you run the script based on the file above, it will return everything above ---, so the result will be:

0003 My third change

Keywords

FAQs

Package last updated on 28 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc