Skip to content

Commit fc995ff

Browse files
author
Benjamin E. Coe
authored
Merge branch 'main' into manifest-command
2 parents 6498c92 + 3428959 commit fc995ff

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

dist/index.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4182,7 +4182,7 @@ exports.withCustomRequest = withCustomRequest;
41824182

41834183
Object.defineProperty(exports, "__esModule", ({ value: true }));
41844184

4185-
const VERSION = "2.13.2";
4185+
const VERSION = "2.13.3";
41864186

41874187
/**
41884188
* Some “list” response that can be paginated have a different response structure
@@ -51307,19 +51307,21 @@ class Manifest {
5130751307
}
5130851308
return releaseAs;
5130951309
}
51310-
async getPackagesToRelease(commits, sha) {
51310+
async getPackagesToRelease(allCommits, sha) {
5131151311
const packages = (await this.getConfigJson()).parsedPackages;
5131251312
const [manifestVersions, atSha] = await this.getManifestVersions(sha);
5131351313
const cs = new commit_split_1.CommitSplit({
5131451314
includeEmpty: true,
5131551315
packagePaths: packages.map(p => p.path),
5131651316
});
51317-
const commitsPerPath = cs.split(commits);
51317+
const commitsPerPath = cs.split(allCommits);
5131851318
const packagesToRelease = {};
5131951319
const missingVersionPaths = [];
5132051320
const defaultBranch = await this.gh.getDefaultBranch();
5132151321
for (const pkg of packages) {
51322-
const commits = commitsPerPath[pkg.path];
51322+
// The special path of '.' indicates the root module is being released
51323+
// in this case, use the entire list of commits:
51324+
const commits = pkg.path === '.' ? allCommits : commitsPerPath[pkg.path];
5132351325
if (!commits || commits.length === 0) {
5132451326
continue;
5132551327
}
@@ -51648,7 +51650,9 @@ class ReleasePR {
5164851650
this.changelogPath = 'CHANGELOG.md';
5164951651
this.bumpMinorPreMajor = options.bumpMinorPreMajor || false;
5165051652
this.labels = (_a = options.labels) !== null && _a !== void 0 ? _a : constants_1.DEFAULT_LABELS;
51651-
this.path = options.path;
51653+
// undefined represents the root path of the library, if the special
51654+
// '.' path is provided, simply ignore it:
51655+
this.path = options.path !== '.' ? options.path : undefined;
5165251656
this.packageName = options.packageName || '';
5165351657
this.monorepoTags = options.monorepoTags || false;
5165451658
this.releaseAs = options.releaseAs;
@@ -67600,7 +67604,7 @@ module.exports = JSON.parse("{\"_args\":[[\"pino@6.11.2\",\"/home/runner/work/re
6760067604
/***/ ((module) => {
6760167605

6760267606
"use strict";
67603-
module.exports = JSON.parse("{\"i8\":\"11.3.0-candidate.0\"}");
67607+
module.exports = {"i8":"11.4.0"};
6760467608

6760567609
/***/ }),
6760667610

0 commit comments

Comments
 (0)