release-please 13.16.0 → 13.16.1

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.16.1](https://github.com/googleapis/release-please/compare/v13.16.0...v13.16.1) (2022-05-10)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * release tagging can find branch components ([#1425](https://github.com/googleapis/release-please/issues/1425)) ([2947d1e](https://github.com/googleapis/release-please/commit/2947d1e9bc49cc25e7c5eef022ba4106d72e829f))
13
+
7
14
  ## [13.16.0](https://github.com/googleapis/release-please/compare/v13.15.1...v13.16.0) (2022-05-06)
8
15
 
9
16
 
@@ -272,10 +272,11 @@ class BaseStrategy {
272
272
  let releaseData;
273
273
  if (pullRequestBody.releaseData.length === 1 &&
274
274
  !pullRequestBody.releaseData[0].component) {
275
+ const branchComponent = await this.getBranchComponent();
275
276
  // standalone release PR, ensure the components match
276
277
  if (this.normalizeComponent(branchName.component) !==
277
- this.normalizeComponent(component)) {
278
- logger_1.logger.warn(`PR component: ${branchName.component} does not match configured component: ${component}`);
278
+ this.normalizeComponent(branchComponent)) {
279
+ logger_1.logger.warn(`PR component: ${branchName.component} does not match configured component: ${branchComponent}`);
279
280
  return;
280
281
  }
281
282
  releaseData = pullRequestBody.releaseData[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "13.16.0",
3
+ "version": "13.16.1",
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",
@@ -60,7 +60,7 @@
60
60
  "gts": "^3.0.0",
61
61
  "mocha": "^9.0.0",
62
62
  "nock": "^13.0.0",
63
- "sinon": "13.0.2",
63
+ "sinon": "14.0.0",
64
64
  "snap-shot-it": "^7.0.0"
65
65
  },
66
66
  "dependencies": {