UNPKG

github-release-notes

Version:

Create a release from a tag and uses issues or commits to creating the release notes. It also can generate a CHANGELOG.md file based on the release notes (or generate a brand new).

19 lines (18 loc) 633 B
'use strict'; module.exports = { // NOTE: check if author is present as might be returned as null. commit: function commit(_ref) { var message = _ref.message, url = _ref.url, author = _ref.author, name = _ref.name; return '- [' + message + '](' + url + ') - ' + (author ? '@' + author : name); }, issue: '- {{labels}} {{name}} [{{text}}]({{url}})', label: '[**{{label}}**]', noLabel: 'closed', group: '\n#### {{heading}}\n', changelogTitle: '# Changelog\n\n', release: '## {{release}} ({{date}})\n{{body}}', releaseSeparator: '\n---\n\n' };