Skip to content

Commit

Permalink
build(release): fix releaseconfig
Browse files Browse the repository at this point in the history
If the plugins option is defined, it overrides the default plugin list, rather than merging with it.
https://github.com/semantic-release/semantic-release/blob/master/docs/usage/plugins.md#plugins-declaration-and-execution-order
  • Loading branch information
Th3S4mur41 committed May 3, 2023
1 parent 5925493 commit fc1fcd2
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 28 deletions.
63 changes: 53 additions & 10 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,60 @@
{
"extends": "@th3s4mur41/release-config",
"branches": ["main", "next", { "name": "beta", "prerelease": true }, { "name": "alpha", "prerelease": true }],
"plugins": [
[
"@semantic-release-plus/docker",
"@semantic-release/commit-analyzer",
{
"name": {
"registry": "ghcr.io",
"namespace": "th3s4mur41",
"repository": "hw2energyid"
},

"skipLogin": true
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
]
],
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"]
}
],
"@semantic-release/github",
"@semantic-release-plus/docker",
{
"name": {
"registry": "ghcr.io",
"namespace": "th3s4mur41",
"repository": "hw2energyid"
},

"skipLogin": true
}
]
}
17 changes: 0 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"@semantic-release-plus/docker": "^3.1.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@th3s4mur41/release-config": "^2.0.3",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.8",
Expand Down

0 comments on commit fc1fcd2

Please sign in to comment.