-
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.
ci: update release-please-action to v4 (#359)
- Loading branch information
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": "607142011735c29af438d62666dc63031de9c310", | ||
"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 @@ | ||
{".":"2.5.1"} |
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 |