Skip to content

Commit

Permalink
ci: update release-please-action to v4 (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Dec 19, 2023
1 parent c69fef5 commit e377426
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 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": "b6d42a6fbda9c0083a49ddb5d65a754274d52ccc",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "go",
"package-name": "terraform-provider-hcloud"
}
}
}
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.44.1"}
14 changes: 7 additions & 7 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Release-please

on:
push:
branches:
- main
name: release-please
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/terraform-provider-hcloud'

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: terraform-provider-hcloud
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit e377426

Please sign in to comment.