Skip to content

Commit b72fe06

Browse files
authored
ci: update release-please-action to v4 (#341)
1 parent ee3c54f commit b72fe06

3 files changed

Lines changed: 19 additions & 8 deletions

File tree

.github/release-please-config.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"bootstrap-sha": "155a565bd3dfbce3177554626ccea6ac35807786",
4+
"include-component-in-tag": false,
5+
"include-v-in-tag": true,
6+
"packages": {
7+
".": {
8+
"release-type": "python",
9+
"package-name": "hcloud",
10+
"extra-files": ["hcloud/__version__.py"]
11+
}
12+
}
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".":"1.32.0"}
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
name: Release please
1+
name: Release-please
22

33
on:
44
push:
55
branches: [main]
66

77
jobs:
88
release-please:
9-
# The secret HCLOUD_BOT_TOKEN is only available on the main repo, not in forks.
9+
# Do not run on forks.
1010
if: github.repository == 'hetznercloud/hcloud-python'
1111

1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: google-github-actions/release-please-action@v3
14+
- uses: google-github-actions/release-please-action@v4
1515
with:
1616
token: ${{ secrets.HCLOUD_BOT_TOKEN }}
17-
release-type: python
18-
package-name: hcloud
19-
20-
extra-files: |
21-
hcloud/__version__.py
17+
config-file: .github/release-please-config.json
18+
manifest-file: .github/release-please-manifest.json

0 commit comments

Comments
 (0)