-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.config.cjs
More file actions
22 lines (22 loc) · 821 Bytes
/
Copy pathrelease.config.cjs
File metadata and controls
22 lines (22 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
branches: ["main"],
plugins: [
// Path-gated: prints major|minor|patch only when src/plugin/catalog files
// changed since the previous v* tag. Empty output skips npm + GitHub.
[
"@semantic-release/exec",
{
analyzeCommitsCmd: "bun scripts/analyze-release-scope.ts",
// Stamp manifest.pluginVersion from nextRelease.version before
// the npm plugin packs, so the published tarball embeds the
// version it is published as.
prepareCmd: "bun scripts/prepare-release-manifest.ts ${nextRelease.version}",
},
],
"./scripts/semantic-release-catalog-notes.cjs",
"@semantic-release/release-notes-generator",
"./scripts/semantic-release-changelog.cjs",
"@semantic-release/npm",
"@semantic-release/github",
],
};