release-please 13.19.5 → 13.19.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ## [13.19.6](https://github.com/googleapis/release-please/compare/v13.19.5...v13.19.6) (2022-07-27)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * skip component when manifest release does not include component ([#1537](https://github.com/googleapis/release-please/issues/1537)) ([8f1a3a8](https://github.com/googleapis/release-please/commit/8f1a3a84a7abc81c47d8cac9295e58bc37cc92c5)), closes [#1536](https://github.com/googleapis/release-please/issues/1536)
13
+
7
14
  ## [13.19.5](https://github.com/googleapis/release-please/compare/v13.19.4...v13.19.5) (2022-07-26)
8
15
 
9
16
 
@@ -289,11 +289,17 @@ class BaseStrategy {
289
289
  releaseData = pullRequestBody.releaseData[0];
290
290
  }
291
291
  else {
292
- // manifest release with multiple components
293
- releaseData = pullRequestBody.releaseData.find(releaseData => {
294
- return (this.normalizeComponent(releaseData.component) ===
292
+ // manifest release with multiple components - find the release notes
293
+ // for the component to see if it was included in this release (parsed
294
+ // from the release pull request body)
295
+ releaseData = pullRequestBody.releaseData.find(datum => {
296
+ return (this.normalizeComponent(datum.component) ===
295
297
  this.normalizeComponent(component));
296
298
  });
299
+ if (!releaseData && pullRequestBody.releaseData.length > 0) {
300
+ logger_1.logger.info(`Pull request contains releases, but not for component: ${component}`);
301
+ return;
302
+ }
297
303
  }
298
304
  const notes = releaseData === null || releaseData === void 0 ? void 0 : releaseData.notes;
299
305
  if (notes === undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "13.19.5",
3
+ "version": "13.19.6",
4
4
  "description": "generate release PRs based on the conventionalcommits.org spec",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": "./build/src/bin/release-please.js",