From f360ff8f2b132904e74ad551f32eaf07395c048c Mon Sep 17 00:00:00 2001 From: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> Date: Wed, 15 Feb 2023 12:26:57 -0700 Subject: [PATCH] fix(release-automation): Release Please Using Manifests (#1149) --- .github/workflows/ci.yml | 6 +----- .release-please-manifest.json | 3 +++ release-please-config.json | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba8de43d4..94b2afb36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,12 +100,8 @@ jobs: steps: - uses: google-github-actions/release-please-action@v3.7.3 with: - release-type: node - package-name: ipfs-companion + command: manifest-pr changelog-notes-type: github - command: release-pr - extra-files: | - add-on/manifest.common.json release-assets: runs-on: ubuntu-latest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 000000000..02bd31d35 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.21.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 000000000..cc31d8b18 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,20 @@ +{ + "bootstrap-sha": "65fe66cc283f1ac8c89638034e7db006e1f53791", + "last-release-sha": "7td2b9838885b3adf52e78ddd23ac01cb819e631", + "group-pull-request-title-pattern": "chore${scope}: release${component} v${version}", + "extra-files": [ + { + "type": "json", + "path": "add-on/manifest.common.json", + "jsonpath": "$.version" + } + ], + "packages": { + ".": { + "release-type": "node", + "plugins": ["node-workspace"], + "package-name": "ipfs-companion", + "release-as": "2.22.0" + } + } +}