-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.config.js
More file actions
23 lines (23 loc) · 811 Bytes
/
release.config.js
File metadata and controls
23 lines (23 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* @type {import('semantic-release').GlobalConfig}
*/
export default {
tagFormat: "${version}",
branches: ["main", "dev"],
plugins: [
["@semantic-release/commit-analyzer"],
["@semantic-release/release-notes-generator"],
// { npmPublish } is disabled by default only if the "private" property
// in package.json is true.
["@semantic-release/npm", { npmPublish: true }],
["@semantic-release/github"],
[
"@semantic-release/git",
{
assets: ["package.json", "package-lock.json"],
/** Don't use [skip ci] because branch-syncer workflow would no longer work. */
message: "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}",
},
],
],
};