Skip to content

Commit 3dfc942

Browse files
committed
ci: update to release-please@4, set add hfix for hidden fixes
1 parent 769dc00 commit 3dfc942

5 files changed

+96
-8
lines changed

.github/.release-please-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.4.0"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"versioning": "always-bump-patch",
3+
"release-type": "python",
4+
"packages": {
5+
".": {}
6+
}
7+
}
+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"versioning": "always-bump-minor",
3+
"release-type": "python",
4+
"changelog-sections": [
5+
{
6+
"type": "feat",
7+
"section": "✨ Features",
8+
"hidden": false
9+
},
10+
{
11+
"type": "fix",
12+
"section": "🐛 Bug Fixes",
13+
"hidden": false
14+
},
15+
{
16+
"type": "hfix",
17+
"section": "🤫 Bug Fixes",
18+
"hidden": true
19+
},
20+
{
21+
"type": "perf",
22+
"section": "🚀 Performance Improvements",
23+
"hidden": false
24+
},
25+
{
26+
"type": "revert",
27+
"section": "🗑 Reverts",
28+
"hidden": false
29+
},
30+
{
31+
"type": "hrevert",
32+
"section": "🤫 Reverts",
33+
"hidden": true
34+
},
35+
{
36+
"type": "docs",
37+
"section": "📚 Documentation",
38+
"hidden": true
39+
},
40+
{
41+
"type": "style",
42+
"section": "💎 Styles",
43+
"hidden": true
44+
},
45+
{
46+
"type": "chore",
47+
"section": "♻️ Miscellaneous Chores",
48+
"hidden": true
49+
},
50+
{
51+
"type": "refactor",
52+
"section": "📦 Code Refactoring",
53+
"hidden": true
54+
},
55+
{
56+
"type": "test",
57+
"section": "🚨 Tests",
58+
"hidden": true
59+
},
60+
{
61+
"type": "build",
62+
"section": "🛠 Build System",
63+
"hidden": true
64+
},
65+
{
66+
"type": "ci",
67+
"section": "⚙️ Continuous Integration",
68+
"hidden": true
69+
}
70+
],
71+
"packages": {
72+
".": {}
73+
}
74+
}

.github/workflows/release.backport.yml .github/workflows/release.hotfix.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Backport
1+
name: Release Hotfix
22
on:
33
push:
44
branches:
@@ -11,9 +11,10 @@ jobs:
1111
pull-requests: write
1212
steps:
1313
- name: Release
14-
uses: googleapis/release-please-action@v3
14+
uses: googleapis/release-please-action@v4
1515
with:
1616
release-type: python
17-
versioning-strategy: always-bump-patch
18-
default-branch: ${{ github.ref_name }}
17+
target-branch: ${{ github.ref_name }}
1918
token: ${{ secrets.GH_RELEASE_PAT }}
19+
config-file: .github/release-please-config.hotfix.json
20+
manifest-file: .github/.release-please-manifest.json

.github/workflows/release.main.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Release Main
22
on:
3+
pull_request:
4+
branches: [ "main" ]
35
push:
46
branches:
57
- main
@@ -11,9 +13,10 @@ jobs:
1113
pull-requests: write
1214
steps:
1315
- name: Release
14-
uses: googleapis/release-please-action@v3
16+
uses: googleapis/release-please-action@v4
1517
with:
16-
release-type: python
17-
versioning-strategy: always-bump-minor
18-
default-branch: ${{ github.ref_name }}
18+
# target-branch: ${{ github.ref_name }}
19+
target-branch: fix/release-please-sections
1920
token: ${{ secrets.GH_RELEASE_PAT }}
21+
config-file: .github/release-please-config.main.json
22+
manifest-file: .github/.release-please-manifest.json

0 commit comments

Comments
 (0)