Skip to content

Commit

Permalink
ci: update release-please-action to v4 (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Dec 19, 2023
1 parent ee3c54f commit b72fe06
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
13 changes: 13 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "155a565bd3dfbce3177554626ccea6ac35807786",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "python",
"package-name": "hcloud",
"extra-files": ["hcloud/__version__.py"]
}
}
}
1 change: 1 addition & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"1.32.0"}
13 changes: 5 additions & 8 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
name: Release please
name: Release-please

on:
push:
branches: [main]

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

runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.HCLOUD_BOT_TOKEN }}
release-type: python
package-name: hcloud

extra-files: |
hcloud/__version__.py
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit b72fe06

Please sign in to comment.