Skip to content

Commit

Permalink
chore: do not release when 'chore' and similar commits
Browse files Browse the repository at this point in the history
Updating dev dependencies etc. do not require a release. Let's use the
default rules, which have worked fine for me on other projects.
  • Loading branch information
Trott committed Apr 18, 2024
1 parent 05c23bb commit b9c869e
Showing 1 changed file with 1 addition and 71 deletions.
72 changes: 1 addition & 71 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,77 +95,7 @@
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Trivial Changes"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/commit-analyzer",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
Expand Down

0 comments on commit b9c869e

Please sign in to comment.