Skip to content

Commit 8e40404

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

5 files changed

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

.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)