Skip to content

Commit 3a0c8f2

Browse files
fix: set correct options in plugins section
1 parent 703a8ea commit 3a0c8f2

File tree

1 file changed

+38
-34
lines changed

1 file changed

+38
-34
lines changed

.releaserc

+38-34
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,43 @@
88
}
99
],
1010
"plugins": [
11-
"@semantic-release/commit-analyzer",
12-
"@semantic-release/release-notes-generator",
11+
[
12+
"@semantic-release/commit-analyzer",
13+
{
14+
"preset": "conventionalcommits",
15+
"parserOpts": {
16+
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
17+
"headerCorrespondence": [
18+
"scope",
19+
"type",
20+
"subject"
21+
]
22+
}
23+
}
24+
],
25+
[
26+
"@semantic-release/release-notes-generator",
27+
{
28+
"preset": "conventionalcommits",
29+
"parserOpts": {
30+
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
31+
"headerCorrespondence": [
32+
"scope",
33+
"type",
34+
"subject"
35+
]
36+
},
37+
"options": {
38+
"preset": {
39+
"name": "conventionalchangelog",
40+
"issuePrefixes": [
41+
"ISSUE-"
42+
],
43+
"issueUrlFormat": "https://github.com/aziontech/vulcan/issues/{id}"
44+
}
45+
}
46+
}
47+
],
1348
"@semantic-release/npm",
1449
"@semantic-release/changelog",
1550
[
@@ -23,36 +58,5 @@
2358
}
2459
],
2560
"@semantic-release/github"
26-
],
27-
"analyzeCommits": {
28-
"preset": "conventionalcommits",
29-
"parserOpts": {
30-
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
31-
"headerCorrespondence": [
32-
"scope",
33-
"type",
34-
"subject"
35-
]
36-
}
37-
},
38-
"generateNotes": {
39-
"preset": "conventionalcommits",
40-
"parserOpts": {
41-
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
42-
"headerCorrespondence": [
43-
"scope",
44-
"type",
45-
"subject"
46-
]
47-
},
48-
"options": {
49-
"preset": {
50-
"name": "conventionalchangelog",
51-
"issuePrefixes": [
52-
"ISSUE-"
53-
],
54-
"issueUrlFormat": "https://github.com/aziontech/vulcan/issues/{id}"
55-
}
56-
}
57-
}
61+
]
5862
}

0 commit comments

Comments
 (0)