Each `generateNotes` plugin will be called in the order defined and will receive the concatenation of the previous one in `nextRelease.notes`. That gives each plugin the ability to test if there is a notes part that will precede it's own. Each plugin is expected to return it's own part of the release notes only. **semantic-release** will take care of concatenating all the notes parts.
12 lines
378 B
JavaScript
12 lines
378 B
JavaScript
const RELEASE_TYPE = ['major', 'premajor', 'minor', 'preminor', 'patch', 'prepatch', 'prerelease'];
|
|
|
|
const FIRST_RELEASE = '1.0.0';
|
|
|
|
const COMMIT_NAME = 'semantic-release-bot';
|
|
|
|
const COMMIT_EMAIL = 'semantic-release-bot@martynus.net';
|
|
|
|
const RELEASE_NOTES_SEPARATOR = '\n\n';
|
|
|
|
module.exports = {RELEASE_TYPE, FIRST_RELEASE, COMMIT_NAME, COMMIT_EMAIL, RELEASE_NOTES_SEPARATOR};
|