-
Notifications
You must be signed in to change notification settings - Fork 57
/
release.config.cjs
21 lines (21 loc) · 846 Bytes
/
release.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* @type {import('semantic-release').GlobalConfig}
*/
// eslint-disable-next-line no-undef
module.exports = {
branches: ['master'],
plugins: [
'@semantic-release/commit-analyzer', // Analyzes your commit messages and determines the type of version bump
'@semantic-release/release-notes-generator', // Generates release notes based on commit messages
'@semantic-release/changelog', // Updates the CHANGELOG.md file
'@semantic-release/npm', // If you're publishing to npm, this updates the version in package.json and publishes the package
'@semantic-release/github', // Creates a GitHub release
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json', 'package-lock.json'],
message: 'chore(release): :bookmark: bump version ${nextRelease.version}',
},
],
],
};