forked from dperson/samba
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrelease.config.js
42 lines (42 loc) · 1.05 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
39
40
41
42
module.exports = {
branch: "master",
repositoryUrl: "[email protected]:coreweave/samba.git",
plugins: [
[
"@semantic-release/commit-analyzer",
{
preset: "angular",
releaseRules: [
{ type: "feature", release: "minor" },
{ type: "update", release: "minor" },
{ type: "refactor", release: "patch" },
{ type: "bugfix", release: "patch" },
{ type: "refactor", release: "patch" },
],
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES"],
},
},
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "docs/CHANGELOG.md"
}
],
["@semantic-release/github", {
"assets": [
{"path": "docs/CHANGELOG.md", "label": "Changelog"}
]
}],
[
"@semantic-release/exec",
{
prepareCmd:
'echo "BUILD_VERSION=\\"${nextRelease.version}\\"" > artifacts.env',
publishCmd: "true",
},
],
],
};