Skip to content

Commit

Permalink
ci: switch to releaser-pleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote committed Nov 8, 2024
1 parent 5066d3b commit 2a24448
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 34 deletions.
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

0 comments on commit 2a24448

Please sign in to comment.