Skip to content

Commit

Permalink
ci: update release-please-action to v4 (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Dec 19, 2023
1 parent ee4c51e commit 5a2dbb2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "fc023e8337f2f8f4c6e8cd3742f989916f682c77",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "go",
"package-name": "hcloud-cli"
}
}
}
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.41.0"}
8 changes: 4 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:

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/cli'

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: go
package-name: hcloud-cli
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit 5a2dbb2

Please sign in to comment.