diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41caaae..72b80a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,22 +4,18 @@ on: push: branches: - master + - dl/upgrade-release-please + +permissions: + contents: write + pull-requests: write jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v3 + - uses: googleapis/release-please-action@v4 id: release - with: - # https://github.com/google-github-actions/release-please-action - default-branch: master - release-type: ruby - package-name: bsb - version-file: lib/bsb/version.rb - fork: false - bump-minor-pre-major: true - bump-patch-for-minor-pre-major: true - if: ${{ steps.release.outputs.release_created }} uses: actions/checkout@v4 diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..05607a1 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,11 @@ +{ + "release-type": "ruby", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "packages": { + ".": { + "release-type": "ruby", + "version-file": "lib/bsb/version.rb" + } + } +}