From 0604cf53b97c81875035b962766ec4bdcbd9afe7 Mon Sep 17 00:00:00 2001 From: ryohidaka <39184410+ryohidaka@users.noreply.github.com> Date: Sat, 7 Sep 2024 16:01:01 +0900 Subject: [PATCH] ci: Update release-please. --- .github/workflows/release-please.yml | 6 +++--- .release-please-config.jsonc | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .release-please-config.jsonc diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 94c0cdd..135c7e9 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -13,8 +13,8 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v3 + - uses: googleapis/release-please-action@v4 with: release-type: simple - package-name: wxt-submit - bump-minor-pre-major: true + config-file: .release-please-config.json + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-please-config.jsonc b/.release-please-config.jsonc new file mode 100644 index 0000000..6266c0f --- /dev/null +++ b/.release-please-config.jsonc @@ -0,0 +1,12 @@ +{ + // BREAKING CHANGE only bumps semver minor if version < 1.0.0 + // absence defaults to false + "bump-minor-pre-major": true, + // feat commits bump semver patch instead of minor if version < 1.0.0 + // absence defaults to false + "bump-patch-for-minor-pre-major": true, + // when `manifest-release` creates GitHub Releases per package, create + // those as "Draft" releases (which can later be manually published). + // absence defaults to false and Releases are created as already Published. + "draft": true, +}