@theholocron/cli 5.0.0 → 5.1.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/README.md +1 -0
- package/dist/cli.mjs +161 -8
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-CZ9zgh3-.mjs → config-system-B0P6elL9.mjs} +35 -0
- package/dist/{index-CZon0UNI.d.mts → index-B3siOjeA.d.mts} +10 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugin/capabilities.d.mts +1 -1
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -832,6 +832,7 @@ See the [command pages](https://theholocron.dev/holocron/commands/setup-notifica
|
|
|
832
832
|
- **`holocron start work <issue> [--name <slug>] [--title <text>] [--base <branch>] [--no-worktree] [--worktree-path <path>] [--spec <file>] [--one-pr] [--type bug|feature|task] [--effort high|medium|low] [--assignee <login>]... [--project <board>] [--no-pr] [--dry-run] [--yes]`** — starts a piece of work (spec `tool-work-commands`, #2429, part 3): reads the issue, sets its start date (and Effort), makes the branch `<type>/<issue>-<slug>` and a worktree under `.claude/worktrees/<name>`, makes the first commit (the spec file, or an empty commit titled like the pull request), pushes, and opens a draft pull request linked to the issue (`Closes`, or `Refs` for a spec-only pull request). It asks first unless `--dry-run` or `--yes`; `--dry-run` runs only the reads and writes nothing, local version control included. Run again, it carries on from the first undone step. The board status is left to the open pull request. See `docs/src/content/docs/commands/start-work.mdx`.
|
|
833
833
|
- **`holocron start agent [--dry-run] -- <command> [args...]`** — starts an agent's program in the foreground with the credentials of the `agent` Environment and nothing else (spec `tech-agent-secrets`, #2711): the Service Account's token is read from an owner-only file (`~/.config/holocron/agent.token`, or `HOLOCRON_AGENT_TOKEN_FILE`), used for one in-memory read of `<org/repo> - agent`, and never given to the program, which gets that Environment's variables and `HOLOCRON_ENVIRONMENT=agent`. See `docs/src/content/docs/commands/start-agent.mdx`.
|
|
834
834
|
- **`holocron update work <issue> [--title <text>] [--issue-title <text>] [--label <name>]... [--remove-label <name>]... [--assignee <login>]... [--milestone <title>] [--unblock <key>]... [--pr <number>] [--start [--name <slug>] [--base <branch>] [--spec <file>] [--one-pr]] [--status <status> [--force] [--board <name>]]` plus the `update issue` field flags `[--dry-run] [--yes]`** — keeps the issue, its pull request and the board in step (spec `tool-work-commands`, part 5). It finds the open pull request by its `<type>/<issue>-<slug>` branch (or `--pr`), updates the issue through `Issues.update` and the pull request's title, labels, assignees, milestone and board through `Source.updatePullRequest`, and adds the `area:<name>` labels the pull request's changed folders earn (`repo.labels.areas`; `Source.listPullRequestFiles`) to both, never removing a label. `--start` runs `start work` first. `--status` is last and refuses In Review, Blocked and Done without `--force` (the board's automation owns them); any hand-set status is temporary. Asks once first unless `--dry-run` or `--yes`.
|
|
835
|
+
- **Protected branches** (`repo.protectedBranches`, #2894, spec `tech-protected-branches`). A list of plain branch names in `.holocron/repo.ts` (none by default; no wildcard, ref, keyword or the default branch; checked when the config loads by `validateRepoProtectedBranches()`). With a `protection` preset, `holocron setup` makes one more ruleset per branch, `holocron-branch-<name>`, from the one `buildRulesetPayload(checks, pins, branch)` (the default branch's rules, required checks and bypass, aimed at `refs/heads/<branch>`; `upsertProtectedBranches()`), never deleting one, and the classic-protection fallback protects the listed branches too. `doctor repo` has a `repo-protected-branch-<name>` row each (present, active, the right ref, the same rules, checks and pins; `SourceRulesetDetail.includes` carries the ref). This repository lists `alpha`.
|
|
835
836
|
- **Area labels** (`repo.labels`, spec `tech-github-area-labels`, #2430 part 2). `repo.labels.areas` (name to folder patterns, `!` excludes) and `repo.labels.scopes` (title scope to area), `kinds` and `fallbackKinds` (kind label to issue Type, for the `issue-types` backfill, #2495) and `repos` (`owner/name` list) are checked when the config loads (`validateRepoLabels()`, a `ConfigError` naming `repo.labels.areas.<name>`). `holocron setup` makes the declared `area:<name>` labels through the optional `Source.ensureLabels()` (create only, `--dry-run` writes nothing; they are never in `CANONICAL_LABELS` or `STALE_LABELS`), and `doctor repo` has a `repo-area-labels` row. The one mapping is exported from `@theholocron/cli` for Sentinel and the backfill probe: `areaLabelsForFiles(files, areas)`, `areaLabelsForTitle(title, scopes)`, `areaForScope(scope, scopes)`, `titleScopes(title)`, `pathMatches(path, pattern)`, `areaLabelDefs(areas)` and `AREA_PREFIX`.
|
|
836
837
|
- **`holocron close work <issue> [--wait [--timeout <minutes>]] [--abandon] [--keep-worktree] [--pr <number>] [--dry-run] [--yes]`** — the end of a piece of work (spec `tool-work-commands`, part 6). It never merges. For an open pull request it asks whether the required checks are green through the optional `Source.getPullRequestChecks` (with `--wait`, polling until green or red or `--timeout` minutes, default 30): the `ci / Required checks` aggregate where the repo posts one, and where `ci.aggregate` is `none` each required check itself (the list is the live ruleset's required contexts, else the config's; an optional check never blocks and a failure of one is listed; a required check that has not posted keeps the wait going until the timeout), stops on anything but green naming the failing checks, and on green asks, marks the pull request ready (`Source.markReady`), adds the area labels through `update work` and takes closed blockers off the issue. Run again after the merge it removes the worktree and the local branch (never forced; `--keep-worktree` leaves them) and checks the remote branch is gone. `--abandon` always asks, stops when the branch holds unpushed commits, closes the pull request, withdraws the spec's post (`sync specs --withdraw`), removes the worktree and branch and asks whether to close the issue as not planned. `--dry-run` writes nothing, local git included.
|
|
837
838
|
|
package/dist/cli.mjs
CHANGED
|
@@ -3533,6 +3533,40 @@ function validateRepoLabels(labels) {
|
|
|
3533
3533
|
if (!Array.isArray(repos)) throw new ConfigError$1("`repo.labels.repos` is a list of `owner/name` repositories");
|
|
3534
3534
|
for (const repo of repos) if (typeof repo !== "string" || !REPOSITORY.test(repo)) throw new ConfigError$1(`\`repo.labels.repos\` has ${JSON.stringify(repo)}, which is not an \`owner/name\` repository`);
|
|
3535
3535
|
}
|
|
3536
|
+
// src/config/validate-repo-protected-branches/validate-repo-protected-branches.ts
|
|
3537
|
+
/** Characters git refuses in a branch name, plus the wildcards a ruleset pattern would read (`*`, `?`, `[`). */
|
|
3538
|
+
const FORBIDDEN = /[\s~^:?*[\]\\]/;
|
|
3539
|
+
/** The reason `name` cannot be a plain branch name, or `undefined` when it can. */
|
|
3540
|
+
function refusal(name) {
|
|
3541
|
+
if (name.startsWith("refs/") || name.startsWith("~")) return "give the branch's name, not a ref or a ruleset keyword";
|
|
3542
|
+
if (FORBIDDEN.test(name)) return "it has a space, a wildcard or a character git refuses in a branch name";
|
|
3543
|
+
if (name.startsWith("/") || name.endsWith("/") || name.endsWith(".") || name.endsWith(".lock")) return "git does not allow that branch name";
|
|
3544
|
+
if (name.startsWith("-") || name.includes("..") || name.includes("//") || name.includes("@{")) return "git does not allow that branch name";
|
|
3545
|
+
}
|
|
3546
|
+
/**
|
|
3547
|
+
* Checks `repo.protectedBranches` when the config loads (#2894, spec `tech-protected-branches`): a list of plain branch
|
|
3548
|
+
* names, each once (git branch names are case-sensitive, so `Alpha` and `alpha` are two), none a wildcard, a ref
|
|
3549
|
+
* (`refs/heads/...`), a ruleset keyword (`~DEFAULT_BRANCH`) or the default branch itself, which its own ruleset already covers.
|
|
3550
|
+
*
|
|
3551
|
+
* @param branches - `repo.protectedBranches`, if the config has it.
|
|
3552
|
+
* @param defaultBranch - `repo.defaultBranch`, when the config names one.
|
|
3553
|
+
* @throws {ConfigError} Naming the path of the first problem found.
|
|
3554
|
+
*/
|
|
3555
|
+
function validateRepoProtectedBranches(branches, defaultBranch) {
|
|
3556
|
+
if (branches === void 0) return;
|
|
3557
|
+
const list = branches;
|
|
3558
|
+
if (!Array.isArray(list)) throw new ConfigError$1("`repo.protectedBranches` must be a list of branch names");
|
|
3559
|
+
const seen = /* @__PURE__ */ new Set();
|
|
3560
|
+
list.forEach((entry, index) => {
|
|
3561
|
+
const at = `\`repo.protectedBranches[${index}]\``;
|
|
3562
|
+
if (typeof entry !== "string" || entry === "") throw new ConfigError$1(`${at} must be a branch name`);
|
|
3563
|
+
const why = refusal(entry);
|
|
3564
|
+
if (why !== void 0) throw new ConfigError$1(`${at}: ${JSON.stringify(entry)} is not a plain branch name (${why})`);
|
|
3565
|
+
if (entry === defaultBranch) throw new ConfigError$1(`${at}: ${JSON.stringify(entry)} is the default branch, which is always protected`);
|
|
3566
|
+
if (seen.has(entry)) throw new ConfigError$1(`${at}: ${JSON.stringify(entry)} is listed twice`);
|
|
3567
|
+
seen.add(entry);
|
|
3568
|
+
});
|
|
3569
|
+
}
|
|
3536
3570
|
// src/config/validate-repo-views/validate-repo-views.ts
|
|
3537
3571
|
/**
|
|
3538
3572
|
* Check `repo.views` (spec `tech-issue-views`, #2733): each view needs a name and a filter (non-empty text), the names
|
|
@@ -3847,6 +3881,7 @@ function resolveConfig(raw) {
|
|
|
3847
3881
|
validateCommandLog(raw.notifications);
|
|
3848
3882
|
validateCommandThreads(raw.notifications);
|
|
3849
3883
|
validateRepoEnvironments(raw.repo?.environments);
|
|
3884
|
+
validateRepoProtectedBranches(raw.repo?.protectedBranches, raw.repo?.defaultBranch);
|
|
3850
3885
|
validateRequiredChecks(raw.repo?.requiredChecks);
|
|
3851
3886
|
validateVariablesSync(raw.repo?.variables);
|
|
3852
3887
|
validateSecretsDeploy(raw.repo?.secrets);
|
|
@@ -9032,6 +9067,8 @@ function requiredFromContexts(contexts) {
|
|
|
9032
9067
|
// src/commands/setup/branch-protection.ts
|
|
9033
9068
|
/** The name of the ruleset `holocron setup` makes for the default branch. */
|
|
9034
9069
|
const RULESET_NAME = "holocron-default-branch";
|
|
9070
|
+
/** The name of the ruleset `setup` makes for one more protected branch (`repo.protectedBranches`, #2894). */
|
|
9071
|
+
const branchRulesetName = (branch) => `holocron-branch-${branch}`;
|
|
9035
9072
|
function buildClassicProtectionPayload(requiredChecks = []) {
|
|
9036
9073
|
return {
|
|
9037
9074
|
required_status_checks: requiredChecks.length > 0 ? {
|
|
@@ -9052,8 +9089,10 @@ function buildClassicProtectionPayload(requiredChecks = []) {
|
|
|
9052
9089
|
/**
|
|
9053
9090
|
* The ruleset `setup` writes. `pins` maps a required context to the integration id of the one GitHub App whose check
|
|
9054
9091
|
* may satisfy it (written as `integration_id` on that entry); a context with no entry may be satisfied by any app.
|
|
9092
|
+
* With `branch` it is the ruleset of that one branch (`repo.protectedBranches`): the same rules, required checks and
|
|
9093
|
+
* bypass, under `branchRulesetName()`, aimed at `refs/heads/<branch>` instead of the default branch.
|
|
9055
9094
|
*/
|
|
9056
|
-
function buildRulesetPayload(requiredChecks = [], pins = {}) {
|
|
9095
|
+
function buildRulesetPayload(requiredChecks = [], pins = {}, branch) {
|
|
9057
9096
|
const rules = [
|
|
9058
9097
|
{ type: "deletion" },
|
|
9059
9098
|
{ type: "non_fast_forward" },
|
|
@@ -9080,7 +9119,7 @@ function buildRulesetPayload(requiredChecks = [], pins = {}) {
|
|
|
9080
9119
|
}
|
|
9081
9120
|
});
|
|
9082
9121
|
return {
|
|
9083
|
-
name: RULESET_NAME,
|
|
9122
|
+
name: branch === void 0 ? RULESET_NAME : branchRulesetName(branch),
|
|
9084
9123
|
target: "branch",
|
|
9085
9124
|
enforcement: "active",
|
|
9086
9125
|
bypass_actors: [{
|
|
@@ -9089,13 +9128,13 @@ function buildRulesetPayload(requiredChecks = [], pins = {}) {
|
|
|
9089
9128
|
bypass_mode: "always"
|
|
9090
9129
|
}],
|
|
9091
9130
|
conditions: { ref_name: {
|
|
9092
|
-
include: ["~DEFAULT_BRANCH"],
|
|
9131
|
+
include: [branch === void 0 ? "~DEFAULT_BRANCH" : `refs/heads/${branch}`],
|
|
9093
9132
|
exclude: []
|
|
9094
9133
|
} },
|
|
9095
9134
|
rules
|
|
9096
9135
|
};
|
|
9097
9136
|
}
|
|
9098
|
-
async function upsertBranchProtection(source, dryRun, requiredChecks, pins = {}) {
|
|
9137
|
+
async function upsertBranchProtection(source, dryRun, requiredChecks, pins = {}, protectedBranches = []) {
|
|
9099
9138
|
const step = `upsert ruleset ${RULESET_NAME}`;
|
|
9100
9139
|
if (dryRun) return {
|
|
9101
9140
|
capability: "source",
|
|
@@ -9129,13 +9168,13 @@ async function upsertBranchProtection(source, dryRun, requiredChecks, pins = {})
|
|
|
9129
9168
|
};
|
|
9130
9169
|
}
|
|
9131
9170
|
try {
|
|
9132
|
-
const
|
|
9133
|
-
await source.protectBranch(
|
|
9171
|
+
const branches = [(await source.getRepo()).defaultBranch, ...protectedBranches];
|
|
9172
|
+
for (const branch of branches) await source.protectBranch(branch, buildClassicProtectionPayload(requiredChecks));
|
|
9134
9173
|
return {
|
|
9135
9174
|
capability: "source",
|
|
9136
9175
|
step,
|
|
9137
9176
|
status: "ok",
|
|
9138
|
-
message: `classic protection on ${
|
|
9177
|
+
message: `classic protection on ${branches.join(", ")}`
|
|
9139
9178
|
};
|
|
9140
9179
|
} catch (err) {
|
|
9141
9180
|
if (err instanceof ProviderApiError && err.status === 403) return {
|
|
@@ -20378,6 +20417,50 @@ function repoChecks(config, repoRoot, statusContexts) {
|
|
|
20378
20417
|
};
|
|
20379
20418
|
}
|
|
20380
20419
|
});
|
|
20420
|
+
if (preset) for (const branch of repo?.protectedBranches ?? []) {
|
|
20421
|
+
const name = branchRulesetName(branch);
|
|
20422
|
+
checks.push({
|
|
20423
|
+
id: `repo-protected-branch-${branch}`,
|
|
20424
|
+
title: `branch ${branch} is protected`,
|
|
20425
|
+
needs: "getRulesetDetail",
|
|
20426
|
+
async run(source) {
|
|
20427
|
+
let rulesets;
|
|
20428
|
+
try {
|
|
20429
|
+
rulesets = await source.listRulesets();
|
|
20430
|
+
} catch (err) {
|
|
20431
|
+
if (err instanceof ProviderApiError && err.status === 403) return { skip: "rulesets are not available on this plan (classic branch protection is not read)" };
|
|
20432
|
+
throw err;
|
|
20433
|
+
}
|
|
20434
|
+
const found = rulesets.find((r) => r.name === name);
|
|
20435
|
+
if (!found) return {
|
|
20436
|
+
problems: [`missing ruleset ${name}`],
|
|
20437
|
+
checked: 1
|
|
20438
|
+
};
|
|
20439
|
+
const detail = await source.getRulesetDetail(found.id);
|
|
20440
|
+
const required = preset === "strict" ? strictChecks(config, repoRoot, statusContexts) : [];
|
|
20441
|
+
const rules = [
|
|
20442
|
+
"deletion",
|
|
20443
|
+
"non_fast_forward",
|
|
20444
|
+
"pull_request",
|
|
20445
|
+
...required.length > 0 ? ["required_status_checks"] : []
|
|
20446
|
+
];
|
|
20447
|
+
const target = `refs/heads/${branch}`;
|
|
20448
|
+
return {
|
|
20449
|
+
problems: [
|
|
20450
|
+
...declaredVsActual(/* @__PURE__ */ new Map([["enforcement", "active"]]), /* @__PURE__ */ new Map([["enforcement", detail.enforcement]]), {
|
|
20451
|
+
noun: "ruleset",
|
|
20452
|
+
show: quote
|
|
20453
|
+
}),
|
|
20454
|
+
...detail.includes !== void 0 && !(detail.includes.length === 1 && detail.includes[0] === target) ? [`ruleset ${name} applies to ${detail.includes.join(", ") || "no branch"}, expected ${target}`] : [],
|
|
20455
|
+
...declaredVsActual(new Map(rules.map((r) => [r, true])), new Map(detail.ruleTypes.map((r) => [r, true])), { noun: "ruleset rule" }),
|
|
20456
|
+
...compareRequiredContexts(required, detail.requiredChecks),
|
|
20457
|
+
...comparePinnedSources(aggregatePin(config.ci, required).pins, detail.requiredCheckSources ?? {})
|
|
20458
|
+
],
|
|
20459
|
+
checked: 2 + rules.length + required.length
|
|
20460
|
+
};
|
|
20461
|
+
}
|
|
20462
|
+
});
|
|
20463
|
+
}
|
|
20381
20464
|
if (preset === "strict") checks.push({
|
|
20382
20465
|
id: "repo-ci-pin",
|
|
20383
20466
|
title: "ci / Required checks is pinned to the declared app",
|
|
@@ -26672,6 +26755,65 @@ async function statusPagesStep(monitoring, loader, dryRun) {
|
|
|
26672
26755
|
}
|
|
26673
26756
|
return steps;
|
|
26674
26757
|
}
|
|
26758
|
+
// src/commands/setup/upsert-protected-branches/upsert-protected-branches.ts
|
|
26759
|
+
/**
|
|
26760
|
+
* The ruleset of each branch in `repo.protectedBranches` (#2894, spec `tech-protected-branches`): the one
|
|
26761
|
+
* `buildRulesetPayload()` aimed at `refs/heads/<branch>`, made or updated by its name, never deleted. One result per
|
|
26762
|
+
* branch, so a failure on one leaves the others written. A 403 means rulesets are unavailable on the plan: the
|
|
26763
|
+
* classic protection `upsertBranchProtection()` falls back to covers these branches too, so it is a skip here.
|
|
26764
|
+
*/
|
|
26765
|
+
async function upsertProtectedBranches(source, dryRun, branches, requiredChecks, pins = {}) {
|
|
26766
|
+
const results = [];
|
|
26767
|
+
let existing;
|
|
26768
|
+
for (const branch of branches) {
|
|
26769
|
+
const name = branchRulesetName(branch);
|
|
26770
|
+
const step = `upsert ruleset ${name}`;
|
|
26771
|
+
if (dryRun) {
|
|
26772
|
+
results.push({
|
|
26773
|
+
capability: "source",
|
|
26774
|
+
step,
|
|
26775
|
+
status: "dry-run"
|
|
26776
|
+
});
|
|
26777
|
+
continue;
|
|
26778
|
+
}
|
|
26779
|
+
try {
|
|
26780
|
+
existing ??= await source.listRulesets();
|
|
26781
|
+
const found = existing.find((r) => r.name === name);
|
|
26782
|
+
const payload = buildRulesetPayload(requiredChecks, pins, branch);
|
|
26783
|
+
if (found) {
|
|
26784
|
+
await source.updateRuleset(found.id, payload);
|
|
26785
|
+
results.push({
|
|
26786
|
+
capability: "source",
|
|
26787
|
+
step,
|
|
26788
|
+
status: "ok",
|
|
26789
|
+
message: "updated"
|
|
26790
|
+
});
|
|
26791
|
+
} else {
|
|
26792
|
+
await source.createRuleset(payload);
|
|
26793
|
+
results.push({
|
|
26794
|
+
capability: "source",
|
|
26795
|
+
step,
|
|
26796
|
+
status: "ok",
|
|
26797
|
+
message: "created"
|
|
26798
|
+
});
|
|
26799
|
+
}
|
|
26800
|
+
} catch (err) {
|
|
26801
|
+
if (err instanceof ProviderApiError && err.status === 403) results.push({
|
|
26802
|
+
capability: "source",
|
|
26803
|
+
step,
|
|
26804
|
+
status: "skip",
|
|
26805
|
+
message: "rulesets unavailable on this plan (see the default branch's step)"
|
|
26806
|
+
});
|
|
26807
|
+
else results.push({
|
|
26808
|
+
capability: "source",
|
|
26809
|
+
step,
|
|
26810
|
+
status: "fail",
|
|
26811
|
+
message: errorMessage(err)
|
|
26812
|
+
});
|
|
26813
|
+
}
|
|
26814
|
+
}
|
|
26815
|
+
return results;
|
|
26816
|
+
}
|
|
26675
26817
|
// src/commands/setup/view-steps/view-steps.ts
|
|
26676
26818
|
/**
|
|
26677
26819
|
* One informational step per declared saved view (`repo.views`, spec `tech-issue-views`, #2733). GitHub has no API to
|
|
@@ -26786,8 +26928,13 @@ async function runSetup(input) {
|
|
|
26786
26928
|
...statusContexts ? { statusContexts } : {}
|
|
26787
26929
|
}).requiredChecks(hostsReusables(input.context.repoRoot)) : [];
|
|
26788
26930
|
const pinPlan = aggregatePin(config.ci, requiredChecks);
|
|
26789
|
-
|
|
26931
|
+
const protectedBranches = repo?.protectedBranches ?? [];
|
|
26932
|
+
steps.push(await upsertBranchProtection(source, dryRun, requiredChecks, pinPlan.pins, protectedBranches));
|
|
26790
26933
|
print(formatStep(steps[steps.length - 1]));
|
|
26934
|
+
for (const result of await upsertProtectedBranches(source, dryRun, protectedBranches, requiredChecks, pinPlan.pins)) {
|
|
26935
|
+
steps.push(result);
|
|
26936
|
+
print(formatStep(result));
|
|
26937
|
+
}
|
|
26791
26938
|
if (pinPlan.problem) {
|
|
26792
26939
|
steps.push({
|
|
26793
26940
|
capability: "source",
|
|
@@ -37558,6 +37705,11 @@ const moveTagArgs = (y) => y.positional("group", {
|
|
|
37558
37705
|
describe: "The remote to push the moved tag to"
|
|
37559
37706
|
});
|
|
37560
37707
|
// src/commands/move-tag/move-tag.command.ts
|
|
37708
|
+
/** The release job's `GITHUB_TOKEN`, as the push's token; nothing when it is not set (a person's own git works). */
|
|
37709
|
+
function tokenOption() {
|
|
37710
|
+
const token = createEnvLookup().get("GITHUB_TOKEN");
|
|
37711
|
+
return token ? { token } : {};
|
|
37712
|
+
}
|
|
37561
37713
|
const moveTagCommand = {
|
|
37562
37714
|
command: "tag [group] [release]",
|
|
37563
37715
|
describe: "Move a version group's major tag (ci-v1) to its latest stable release (semantic-release publishCmd)",
|
|
@@ -37569,6 +37721,7 @@ const moveTagCommand = {
|
|
|
37569
37721
|
cwd: argv.cwd,
|
|
37570
37722
|
dryRun: argv.dryRun,
|
|
37571
37723
|
remote: argv.remote,
|
|
37724
|
+
...tokenOption(),
|
|
37572
37725
|
...argv.release ? { version: argv.release } : {}
|
|
37573
37726
|
})).status === "fail") process.exitCode = 1;
|
|
37574
37727
|
}
|