release-please 12.6.2 → 12.6.3

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
+ ### [12.6.3](https://www.github.com/googleapis/release-please/compare/v12.6.2...v12.6.3) (2021-12-22)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * GitHub#findFilesByExtension should treat prefix as a directory ([#1166](https://www.github.com/googleapis/release-please/issues/1166)) ([8329825](https://www.github.com/googleapis/release-please/commit/83298257a2021f88df4db3c95869955f8773eb70)), closes [#1164](https://www.github.com/googleapis/release-please/issues/1164)
13
+
7
14
  ### [12.6.2](https://www.github.com/googleapis/release-please/compare/v12.6.1...v12.6.2) (2021-12-21)
8
15
 
9
16
 
@@ -475,7 +475,7 @@ class GitHub {
475
475
  // match the filename
476
476
  path.endsWith(filename) &&
477
477
  // match the prefix if provided
478
- (!prefix || path.startsWith(prefix)));
478
+ (!prefix || path.startsWith(`${prefix}/`)));
479
479
  })
480
480
  .map(file => {
481
481
  let path = file.path;
@@ -518,7 +518,7 @@ class GitHub {
518
518
  // match the file extension
519
519
  path.endsWith(`.${extension}`) &&
520
520
  // match the prefix if provided
521
- (!prefix || path.startsWith(prefix)));
521
+ (!prefix || path.startsWith(`${prefix}/`)));
522
522
  })
523
523
  .map(file => {
524
524
  let path = file.path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "12.6.2",
3
+ "version": "12.6.3",
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",