diff --git a/.github/release-please-config.json b/.github/release-please-config.json deleted file mode 100644 index 25483364..00000000 --- a/.github/release-please-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", - "bootstrap-sha": "fc023e8337f2f8f4c6e8cd3742f989916f682c77", - "include-component-in-tag": false, - "include-v-in-tag": true, - "packages": { - ".": { - "release-type": "go", - "package-name": "hcloud-cli", - "extra-files": ["internal/version/version.go"] - } - } -} diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json deleted file mode 100644 index 64a679de..00000000 --- a/.github/release-please-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{".":"1.48.0"} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b18ed8d7..b4f63c20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml deleted file mode 100644 index 1c7663aa..00000000 --- a/.github/workflows/release-please.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Release-please - -on: - push: - branches: [main] - -jobs: - release-please: - # Do not run on forks. - if: github.repository == 'hetznercloud/cli' - - runs-on: ubuntu-latest - steps: - - uses: googleapis/release-please-action@v4 - with: - token: ${{ secrets.HCLOUD_BOT_TOKEN }} - config-file: .github/release-please-config.json - manifest-file: .github/release-please-manifest.json diff --git a/.github/workflows/releaser-pleaser.yaml b/.github/workflows/releaser-pleaser.yaml new file mode 100644 index 00000000..7f997cfe --- /dev/null +++ b/.github/workflows/releaser-pleaser.yaml @@ -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/releaser-pleaser@v0.4.1 + with: + token: ${{ secrets.HCLOUD_BOT_TOKEN }} + extra-files: | + internal/version/version.go diff --git a/internal/version/version.go b/internal/version/version.go index 15d883a1..a9ec438e 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -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). //