- Allow to run semantic-release (via API) from anywhere passing the current working directory. - Allows to simplify the tests and to run them in parallel in both the core and plugins.
14 lines
438 B
JavaScript
14 lines
438 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';
|
|
|
|
const SECRET_REPLACEMENT = '[secure]';
|
|
|
|
module.exports = {RELEASE_TYPE, FIRST_RELEASE, COMMIT_NAME, COMMIT_EMAIL, RELEASE_NOTES_SEPARATOR, SECRET_REPLACEMENT};
|