-
Notifications
You must be signed in to change notification settings - Fork 10
/
release.config.js
38 lines (38 loc) · 1.01 KB
/
release.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
repositoryUrl: 'https://github.com/SelectQuoteLabs/SQForm.git',
// Semantic release will only release off the master branch and any branch that includes the string `maintenance-release`.
branches: ['*maintenance-release*', 'master'],
plugins: [
'@semantic-release/commit-analyzer',
[
'@semantic-release/release-notes-generator',
{
preset: 'conventionalcommits',
commit: 'commits',
issue: 'issue',
},
],
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
'@semantic-release/npm',
[
'@semantic-release/github',
{
successComment: false,
},
],
[
'@semantic-release/git',
{
assets: ['docs', 'CHANGELOG.md', 'package.json', 'package-lock.json'],
message:
// eslint-disable-next-line no-template-curly-in-string
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
};