Declared-range check: a clone without release tags is refused rather than passing for want of releases to build
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4f76bb9391
commit
172759fd30
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ const workspaces = readJson(join(repoRoot, "package.json")).workspaces.map((dire
|
|||
});
|
||||
const byName = new Map(workspaces.map((workspace) => [workspace.manifest.name, workspace]));
|
||||
const tags = git("tag", "-l").split(/\r?\n/u).filter(Boolean);
|
||||
assert.ok(tags.length > 0, "this clone has no release tags; fetch them (git fetch --tags) so the admitted releases can be built");
|
||||
const scratch = mkdtempSync(join(tmpdir(), "cultlib-declared-ranges-"));
|
||||
const built = new Map();
|
||||
let checked = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue