-
-
Notifications
You must be signed in to change notification settings - Fork 156
/
release.config.js
38 lines (35 loc) · 1.1 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 = {
branches: [
"master"
],
plugins: [
"@semantic-release/commit-analyzer",
["@semantic-release/release-notes-generator", {
writerOpts: {
footerPartial: `
{{#if noteGroups}}
{{#each noteGroups}}
### {{title}}
{{#each notes}}
* {{text}}
{{/each}}
{{/each}}
{{/if}}
You can install or upgrade by extracting all files from the zip attached to this release into a single directory or via [Chocolatey](https://chocolatey.org/packages/lessmsi).
`
}
}],
// github config docs: https://github.com/semantic-release/github
["@semantic-release/github", {
"assets": [
{"path": "src/.deploy/chocolateypackage/*.nupkg", "label": "Chocolatey Package"},
{"path": "src/.deploy/*.zip", "label": "Zip of lessmsi application binaries"}
]
}],
["@semantic-release/exec", {
"verifyConditionsCmd": "src\\.build\\semantic-release-verify.cmd",
"prepareCmd": "src\\.build\\semantic-release-prepare.cmd ${nextRelease.version}",
"publishCmd": "src\\.build\\semantic-release-publish.cmd ${nextRelease.version}",
}],
]
};