Skip to content

Commit

Permalink
ci: update release-please-action to v4 (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Dec 19, 2023
1 parent 1517c48 commit 933d61a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 17 deletions.
20 changes: 20 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "9a352361bc1392962c3e75384cf92d99664f902f",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "go",
"package-name": "csi-driver",
"extra-files": [
"driver/driver.go",
"deploy/kubernetes/hcloud-csi.yml",
"chart/.snapshots/default.yaml",
"chart/.snapshots/example-prod.yaml",
"chart/.snapshots/full.yaml",
"chart/Chart.yaml"
]
}
}
}
1 change: 1 addition & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"2.6.0"}
24 changes: 7 additions & 17 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,28 +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/csi-driver'

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: csi-driver

extra-files: |
driver/driver.go
deploy/kubernetes/hcloud-csi.yml
chart/Chart.yaml
chart/.snapshots/example-prod.yaml
chart/.snapshots/full.yaml
chart/.snapshots/default.yaml
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit 933d61a

Please sign in to comment.