0.2.3 • Published 5 years ago

@wpsh/releaselog v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Releaselog 🗒️

npm version Build Status Coverage Status

Automatically build project changelog.txt from GitHub release notes.

Install

Install using npm as a development dependency:

npm install --save-dev @wpsh/releaselog

Usage

As a Node module:

const fs = require('fs');
const releaselog = require('@wpsh/releaselog').default;

releaselog('kasparsd/widget-context-wporg') 
  .then(changelog => {
    fs.writeFile('CHANGELOG.md', `# Changelog\n\n${changelog}`, err => {
      if (err) throw err;
    });
  })
  .catch(err => console.error(err));

will create CHANGELOG.md with the following contents:

# Changelog

## Version 1.1.0 (2018-06-13)

- Fix URL matching for URLs with query strings.
- Introduce unit tests for the URL context.

## Version 1.0.7 (2018-06-05)

- Mark as tested with WordPress 4.9.6.
- Use the localisation service provided by [WP.org](https://translate.wordpress.org/projects/wp-plugins/widget-context).
- Support for Composer.

[..]

Credits

Created by Kaspars Dambis.

0.2.3

5 years ago

0.2.2

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago