Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: switch to releaser-pleaser #906

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/release-please-config.json

This file was deleted.

1 change: 0 additions & 1 deletion .github/release-please-manifest.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Upload coverage reports to Codecov
if: >
!startsWith(github.head_ref, 'renovate/') &&
!startsWith(github.head_ref, 'release-please--')
!startsWith(github.head_ref, 'releaser-pleaser--')
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/release-please.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/releaser-pleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Releaser-pleaser

on:
push:
branches: [main]
pull_request_target:
types:
- edited
- labeled
- unlabeled

jobs:
releaser-pleaser:
# Do not run on forks.
if: github.repository == 'hetznercloud/cli'

runs-on: ubuntu-latest
steps:
- name: releaser-pleaser
uses: apricote/[email protected]
with:
token: ${{ secrets.HCLOUD_BOT_TOKEN }}
extra-files: |
internal/version/version.go
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package version

var (
// version is a semver version (https://semver.org).
version = "1.48.0" // x-release-please-version
version = "1.48.0" // x-releaser-pleaser-version

// versionPrerelease is a semver version pre-release identifier (https://semver.org).
//
Expand Down