Skip to content

Commit bf85238

Browse files
committed
upgrade release please to v5
1 parent 202f38b commit bf85238

3 files changed

Lines changed: 84 additions & 7 deletions

File tree

.github/workflows/release-pr.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ jobs:
2323
uses: actions/checkout@v5
2424

2525
- name: Release Please
26-
uses: googleapis/release-please-action@v4
26+
uses: googleapis/release-please-action@v5
2727
with:
28-
release-type: rust
29-
pull-request-header: ":robot: Automated release created! :rocket:"
30-
bump-minor-pre-major: true
31-
bump-patch-for-minor-pre-major: true
32-
extra-files: |
33-
README.md
3428
token: ${{ secrets.RP_SECRET }}
29+
config-file: .release-config.json
30+
manifest-file: .release-manifest.json

.release-config.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "rust",
4+
"release-as": "",
5+
"include-component-in-tag": false,
6+
"pull-request-title-pattern": "chore: release${component}",
7+
"changelog-sections": [
8+
{
9+
"type": "feature",
10+
"section": "🚀 Features"
11+
},
12+
{
13+
"type": "feat",
14+
"section": "🚀 Features"
15+
},
16+
{
17+
"type": "fix",
18+
"section": "🐛 Bug Fixes"
19+
},
20+
{
21+
"type": "perf",
22+
"section": "⚡ Performance Improvements"
23+
},
24+
{
25+
"type": "revert",
26+
"section": "◀️ Reverts"
27+
},
28+
{
29+
"type": "docs",
30+
"section": "📚 Documentation",
31+
"hidden": false
32+
},
33+
{
34+
"type": "style",
35+
"section": "🎨 Styles",
36+
"hidden": true
37+
},
38+
{
39+
"type": "chore",
40+
"section": "⚙️ Miscellaneous Chores",
41+
"hidden": true
42+
},
43+
{
44+
"type": "refactor",
45+
"section": "🚜 Code Refactoring",
46+
"hidden": false
47+
},
48+
{
49+
"type": "test",
50+
"section": "🧪 Tests",
51+
"hidden": true
52+
},
53+
{
54+
"type": "build",
55+
"section": "🛠️ Build System",
56+
"hidden": true
57+
},
58+
{
59+
"type": "ci",
60+
"section": "🥏 Continuous Integration",
61+
"hidden": true
62+
}
63+
],
64+
"plugins": ["sentence-case"],
65+
"pull-request-header": ":robot: Auto-generated release PR",
66+
"packages": {
67+
".": {
68+
"release-type": "rust",
69+
"draft": false,
70+
"prerelease": false,
71+
"bump-minor-pre-major": true,
72+
"bump-patch-for-minor-pre-major": true,
73+
"include-component-in-tag": false,
74+
"changelogPath": "CHANGELOG.md",
75+
"extra-files": ["README.md"]
76+
}
77+
}
78+
}

.release-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.10.1"
3+
}

0 commit comments

Comments
 (0)