Skip to content

Commit

Permalink
ci: update release-please-action to v4 (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Dec 19, 2023
1 parent ab8fbcd commit c9f0755
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 13 deletions.
17 changes: 17 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "4fc5527b8632eabc42771029cff0e15e5505b804",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "go",
"package-name": "hcloud-cloud-controller-manager",
"extra-files": [
"deploy/ccm-networks.yaml",
"deploy/ccm.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 @@
{".":"1.19.0"}
20 changes: 7 additions & 13 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,24 +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/hcloud-cloud-controller-manager'

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-cloud-controller-manager

# These files reference the version in the OCI image tag.
extra-files: |
deploy/ccm.yaml
deploy/ccm-networks.yaml
chart/Chart.yaml
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit c9f0755

Please sign in to comment.