Skip to content

Commit

Permalink
ci: update release-please-action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Dec 19, 2023
1 parent 2719b55 commit 09ebda5
Show file tree
Hide file tree
Showing 3 changed files with 18 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": "46999c9b617abc87b9b5554b6f2c861c68c911a2",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "go",
"package-name": "packer-plugin-hcloud",
"extra-files": ["version/version.go"]
}
}
}
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.2.1"}
12 changes: 4 additions & 8 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +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/packer-plugin-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: packer-plugin-hcloud
draft: true

extra-files: |
version/version.go
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit 09ebda5

Please sign in to comment.