Socket
Socket
Sign inDemoInstall

generate_release_notes

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate_release_notes

This generates two files ```notes.html``` a view of your change logs and readme ```changelogs.json``` the github dump


Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Generate Release Notes

This generates two files notes.html a view of your change logs and readme changelogs.json the github dump

CLI Usage

Install using

npm i -g generate_release_notes

You need the following param

  • --repo=:owner/:repo

The following params are optional

  • --save-to=folder_location saves notes.html and changelog.json to this folder, defaults to ./
  • --token=xxx the github oatuh token
  • --from-tag-name=x.x.x.x.x.x... assumption it is a versioned number
  • --last-releases=X gets the last X releases
  • --readme-location=file_location this will be in the top of notes.html, will not be present when not given
  • --style-sheet-location=file_location adds style sheet for notes.html, will still look like readme
  • --usage or --help exits and displays this message

Node Usage

Install using

npm i --save-dev generate_release_notes

var generate = require('generate_release_notes');

var options = {
    'repo':':owner/:repo',
    'save-to':'folder_location',
    'token':'xxx',
    'readme-location':'file_location',
    'style-sheet-location':'file_location',
    'from-tag-name':'x.x.x.x.x.x...',
    'last-releases': X,
    'callback': function(data) {
        console.log(data.notes) // the html string
        console.log(data.changelogs) // the json string
    }
}

generate.create(options);

In this case you will need the callback because of the call to github

FAQs

Package last updated on 08 Mar 2016

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