Skip to content

Commit

Permalink
try releaseRules
Browse files Browse the repository at this point in the history
  • Loading branch information
adjkant committed Dec 29, 2023
1 parent 2d19cf2 commit 12fc5e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
4 changes: 4 additions & 0 deletions publishing/release-rules.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = [
{ type: "feat", scope: "!", release: "major" },
{ type: "docs", scope: "public", release: "patch" },
];
14 changes: 3 additions & 11 deletions sdks/v2-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,11 @@
[
"@semantic-release/commit-analyzer",
{
"preset": {
"name": "conventionalcommits"
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": {
"name": "conventionalcommits"
}
"preset": "angular",
"releaseRules": "../../publishing/release-rules.cjs"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
Expand Down

0 comments on commit 12fc5e9

Please sign in to comment.