From 706f844e8a1b9a1b479b213b22343933414b7b40 Mon Sep 17 00:00:00 2001 From: Simon Ledoux Date: Sat, 6 Apr 2024 18:20:49 +0000 Subject: [PATCH] fix: move extra-files definition to packages --- .github/workflows/release-please.yml | 1 + release-please-config.json | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index beb10b1..4daffbe 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,6 +16,7 @@ jobs: id: release with: token: ${{ secrets.GITHUB_TOKEN }} + release-type: node - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: diff --git a/release-please-config.json b/release-please-config.json index 1643d33..d51e19b 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,11 +1,15 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", "release-type": "none", - "extra-files": [ - { - "type": "json", - "path": "manifest.json", - "jsonpath": "$.version" + "packages": { + ".": { + "extra-files": [ + { + "type": "json", + "path": "manifest.json", + "jsonpath": "$.version" + } + ] } - ] + } } \ No newline at end of file