Skip to content

Commit f547ac8

Browse files
committed
chore(template): sync with ahmadnassri/template-action-docker
1 parent 2407e06 commit f547ac8

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.release.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"plugins": [
3+
["@semantic-release/commit-analyzer", {
4+
"preset": "conventionalcommits",
5+
"releaseRules": [
6+
{ "breaking": true, "release": "major" },
7+
{ "revert": true, "release": "patch" },
8+
{ "type": "build", "release": "patch" },
9+
{ "type": "docs", "release": "patch" },
10+
{ "type": "feat", "release": "minor" },
11+
{ "type": "fix", "release": "patch" },
12+
{ "type": "perf", "release": "patch" },
13+
{ "type": "refactor", "release": "patch" }
14+
]
15+
}],
16+
["@semantic-release/release-notes-generator", {
17+
"preset": "conventionalcommits",
18+
"presetConfig": {
19+
"types": [
20+
{ "type": "chore", "section": "Chores", "hidden": true },
21+
{ "type": "build", "section": "Build", "hidden": false },
22+
{ "type": "ci", "section": "CI/CD", "hidden": false },
23+
{ "type": "docs", "section": "Docs", "hidden": false },
24+
{ "type": "feat", "section": "Features", "hidden": false },
25+
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
26+
{ "type": "perf", "section": "Performance", "hidden": false },
27+
{ "type": "refactor", "section": "Refactor", "hidden": false },
28+
{ "type": "style", "section": "Code Style", "hidden": false },
29+
{ "type": "test", "section": "Tests", "hidden": false }
30+
]
31+
}
32+
}],
33+
["@semantic-release/exec", {
34+
"prepareCmd": "sed -Ei 's/:[0-9,\\.]+/:${nextRelease.version}/g' action.yml"
35+
}],
36+
["@semantic-release/git", {
37+
"assets": ["action.yml"],
38+
"message": "chore(release): bump to ${nextRelease.version} [skip ci]"
39+
}],
40+
["@semantic-release/github", {
41+
"successComment": false,
42+
"failComment": false
43+
}]
44+
]
45+
}

0 commit comments

Comments
 (0)