-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport release-1.x] ci: update release-please-action to v4 (#360)
Backport 97d13cd from #359. BEGIN_COMMIT_OVERRIDE ci: update release-please-action to v4 #360 END_COMMIT_OVERRIDE --------- Co-authored-by: Jonas L <[email protected]>
- Loading branch information
1 parent
610e949
commit 314c3c0
Showing
3 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "610e949e39fbb991eef697082064254c2871b219", | ||
"include-component-in-tag": false, | ||
"include-v-in-tag": true, | ||
"packages": { | ||
".": { | ||
"release-type": "go", | ||
"package-name": "hcloud-go", | ||
"extra-files": ["hcloud/hcloud.go"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{".":"1.53.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
name: Release-please | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- release-1.x | ||
|
||
name: release-please | ||
|
||
jobs: | ||
release-please: | ||
# Do not run on forks. | ||
if: github.repository == 'hetznercloud/hcloud-go' | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
- uses: google-github-actions/release-please-action@v4 | ||
with: | ||
release-type: go | ||
package-name: hcloud-go | ||
|
||
# hcloud-go is consumed directly from the git tag. | ||
# To make sure that the version in the user-agent is up-to-date, | ||
# we need to write it to a file that is included in the git tag. | ||
extra-files: | | ||
hcloud/hcloud.go | ||
# Configuration for multiple active release branches | ||
default-branch: ${{ github.ref_name }} | ||
config-file: .github/release-please-config.json | ||
manifest-file: .github/release-please-manifest.json |