From cd8cf57141041946198f69d3c2c9226e6eb41154 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 6 Apr 2022 10:21:17 -0700 Subject: [PATCH] fix: explicitly set package-name for release please workspaces --- lib/content/release-please.yml | 3 +++ tap-snapshots/test/apply/full-content.js.test.cjs | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/lib/content/release-please.yml b/lib/content/release-please.yml index bd15b111..f34a7410 100644 --- a/lib/content/release-please.yml +++ b/lib/content/release-please.yml @@ -22,6 +22,9 @@ jobs: {{#if pkgRelPath}} monorepo-tags: true path: {{pkgRelPath}} + # name can be removed after this is merged + # https://github.com/google-github-actions/release-please-action/pull/459 + package-name: "{{pkgName}}" {{/if}} changelog-types: > [ diff --git a/tap-snapshots/test/apply/full-content.js.test.cjs b/tap-snapshots/test/apply/full-content.js.test.cjs index 33d01fdf..95a422d2 100644 --- a/tap-snapshots/test/apply/full-content.js.test.cjs +++ b/tap-snapshots/test/apply/full-content.js.test.cjs @@ -1069,6 +1069,9 @@ jobs: release-type: node monorepo-tags: true path: workspaces/b + # name can be removed after this is merged + # https://github.com/google-github-actions/release-please-action/pull/459 + package-name: "bbb" changelog-types: > [ {"type":"feat","section":"Features","hidden":false}, @@ -1102,6 +1105,9 @@ jobs: release-type: node monorepo-tags: true path: workspaces/a + # name can be removed after this is merged + # https://github.com/google-github-actions/release-please-action/pull/459 + package-name: "@name/aaaa" changelog-types: > [ {"type":"feat","section":"Features","hidden":false},