release-please 14.2.0 → 14.2.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 +21 -0
- package/build/src/github.d.ts +1 -0
- package/build/src/github.js +3 -2
- package/build/src/plugins/node-workspace.js +1 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,27 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/release-please?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [14.2.3](https://github.com/googleapis/release-please/compare/v14.2.2...v14.2.3) (2022-08-30)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* dont filter out root package in node workspace candidate filtering ([#1606](https://github.com/googleapis/release-please/issues/1606)) ([c8560d5](https://github.com/googleapis/release-please/commit/c8560d519db50690ac6dd3409dd2b3560f4c12a5))
|
|
13
|
+
|
|
14
|
+
## [14.2.2](https://github.com/googleapis/release-please/compare/v14.2.1...v14.2.2) (2022-08-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* look at merged_at field to determine merge status ([#1609](https://github.com/googleapis/release-please/issues/1609)) ([1c9beac](https://github.com/googleapis/release-please/commit/1c9beacb49d82f2aa594ef0511fa8d9cfd743b11))
|
|
20
|
+
|
|
21
|
+
## [14.2.1](https://github.com/googleapis/release-please/compare/v14.2.0...v14.2.1) (2022-08-25)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* allow providing logger to GitHub.create ([#1603](https://github.com/googleapis/release-please/issues/1603)) ([a14e906](https://github.com/googleapis/release-please/commit/a14e906991e0120d0a85d1c4d739999cd6c9f1e4))
|
|
27
|
+
|
|
7
28
|
## [14.2.0](https://github.com/googleapis/release-please/compare/v14.1.2...v14.2.0) (2022-08-25)
|
|
8
29
|
|
|
9
30
|
|
package/build/src/github.d.ts
CHANGED
package/build/src/github.js
CHANGED
|
@@ -373,6 +373,7 @@ class GitHub {
|
|
|
373
373
|
defaultBranch: (_d = options.defaultBranch) !== null && _d !== void 0 ? _d : (await GitHub.defaultBranch(options.owner, options.repo, apis.octokit)),
|
|
374
374
|
},
|
|
375
375
|
octokitAPIs: apis,
|
|
376
|
+
logger: options.logger,
|
|
376
377
|
};
|
|
377
378
|
return new GitHub(opts);
|
|
378
379
|
}
|
|
@@ -637,8 +638,8 @@ class GitHub {
|
|
|
637
638
|
})) {
|
|
638
639
|
for (const pull of pulls) {
|
|
639
640
|
// The REST API does not have an option for "merged"
|
|
640
|
-
// pull requests - they are closed with a `
|
|
641
|
-
if (status !== 'MERGED' || pull.
|
|
641
|
+
// pull requests - they are closed with a `merged_at` timestamp
|
|
642
|
+
if (status !== 'MERGED' || pull.merged_at) {
|
|
642
643
|
results += 1;
|
|
643
644
|
yield {
|
|
644
645
|
headBranchName: pull.head.ref,
|
|
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.NodeWorkspace = void 0;
|
|
17
17
|
const package_graph_1 = require("@lerna/package-graph");
|
|
18
18
|
const package_1 = require("@lerna/package");
|
|
19
|
-
const manifest_1 = require("../manifest");
|
|
20
19
|
const version_1 = require("../version");
|
|
21
20
|
const raw_content_1 = require("../updaters/raw-content");
|
|
22
21
|
const pull_request_title_1 = require("../util/pull-request-title");
|
|
@@ -228,8 +227,7 @@ class NodeWorkspace extends workspace_1.WorkspacePlugin {
|
|
|
228
227
|
return graph;
|
|
229
228
|
}
|
|
230
229
|
inScope(candidate) {
|
|
231
|
-
return
|
|
232
|
-
candidate.path !== manifest_1.ROOT_PROJECT_PATH);
|
|
230
|
+
return candidate.config.releaseType === 'node';
|
|
233
231
|
}
|
|
234
232
|
packageNameFromPackage(pkg) {
|
|
235
233
|
return pkg.name;
|