launchset 1.2.0 → 1.3.0

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 CHANGED
@@ -59,6 +59,7 @@ Start with [Getting started](https://demonsters.github.io/launchset/getting-star
59
59
  | [Android](https://demonsters.github.io/launchset/targets/android/) | `versionName` and `versionCode` (`build.gradle`, `build.gradle.kts` or `gradle.properties`) |
60
60
  | [iOS](https://demonsters.github.io/launchset/targets/ios/) | marketing version and build number (Xcode project, `Info.plist` files or an `.xcconfig`) |
61
61
  | [React Native](https://demonsters.github.io/launchset/targets/react-native/), [Capacitor](https://demonsters.github.io/launchset/targets/capacitor/), [Expo](https://demonsters.github.io/launchset/targets/expo/) (experimental) | the same Android and iOS targets, pointed at their files |
62
+ | [Flutter](https://demonsters.github.io/launchset/targets/flutter/) (experimental) | the same Android and iOS targets: `version` in `pubspec.yaml`, with the build number after the `+` in CI |
62
63
  | [Custom](https://demonsters.github.io/launchset/targets/custom/) | anything else: an npm package, a CLI, a file of your choice |
63
64
 
64
65
  ## Agent skills
@@ -98,4 +99,4 @@ The design is in [`design/SPEC.md`](https://github.com/demonsters/launchset/blob
98
99
 
99
100
  ## License
100
101
 
101
- [MIT](https://github.com/demonsters/launchset/blob/main/LICENSE). Built and used at [demonsters](https://github.com/demonsters).
102
+ [MIT](https://github.com/demonsters/launchset/blob/main/LICENSE). Built and used at [De Monsters](https://demonsters.nl).
package/dist/cli.js CHANGED
@@ -1,14 +1,15 @@
1
1
  #!/usr/bin/env node
2
- import { A as isPlainVersion, B as releaseVersion, C as matchBranch, D as compareVersions, E as branchSlug, F as parseMaintenanceBranch, H as BUMPS, I as prPreviewVersion, L as prereleaseVersion, M as maintenanceViolations, N as marketingVersion, O as distTag, P as nextPrereleaseNumber, R as previewBaseVersion, S as isMaintenanceBranch, T as branchPreviewVersion, U as escapeRegExp, _ as ciProfile, c as hostConfigIssues, f as DEFAULT_HOST, h as ciFromEnv, j as maintenanceBranchName, k as highestVersion, s as gitlabSettings, t as ConfigError, u as targetShell, v as ciSystemFor, w as baseVersionOf, x as findPreviewBranch, y as hostProfile, z as releaseBump } from "./schema-CKljQNeI.js";
3
- import { $t as latestRelease, At as describeManualTarget, Bt as planBuildNumber, Dt as alert, E as psQuote, Et as forgeWords, F as parseDecide, Ft as isoTime, G as stampForRelease, Gt as unknownTarget, H as checkConsistency, Ht as readChangesetFile, It as joinWords, Jt as hasMarker, K as writeChanges, Kt as validChangesets, L as permissionLabel, Lt as manualTargetStatuses, M as packageVersion, Mt as firstLine, Nt as invalidChangesetFiles, Ot as buildTargetPlans, P as INIT_FLAGS, Pt as isoDay, Qt as lastReleaseTag, R as detectHost, Rt as manualTargets, Tt as forgeLinks, U as readRootVersion$1, Ut as renderSummary, V as serverUrlFromRemote, Vt as plural, W as stampForBuild, Wt as snapshotTags, Xt as indexTags, Yt as highestMarkerVersion, Zt as isReleased, _n as generateChangesetName, _t as insertSection, a as inspectTargetJobs, an as prereleaseVersions, at as loadConfig, bn as serializeChangeset, ct as GitError, dn as versionTagShas, dt as TagExistsError, en as latestReleaseInLine, fn as dockerPlan, gt as extractSectionWithHeading, hn as CHANGESET_DIR, ht as extractSection, in as partialTag, it as CONFIG_FILE_NAMES, jt as describeMismatch, kt as code, ln as takenVersions, lt as LeaseError, mn as forgeHints, n as DEFAULT_TARGETS_FILE, nn as markersFor, o as renderChildPipeline, on as releaseTag, pt as topPathspec, qt as autoTargets, r as PLAN_JOBS, rn as missingAutoTargets, sn as releasesAfter, st as Git, t as DEFAULT_CHILD_FILE, tn as markerTag, un as unfinishedReleases, ut as TagCleanupError, vn as isChangesetPath, vt as insertSectionSorted, yn as parseChangeset, yt as renderSection, z as readCiEnvironment, zt as normalizeVersionInput } from "./gitlab-child-girdQprO.js";
2
+ import { A as distTag, B as previewBaseVersion, C as findPreviewBranch, D as branchPreviewVersion, E as baseVersionOf, F as marketingVersion, G as escapeRegExp, H as releaseVersion, I as nextPrereleaseNumber, L as parseMaintenanceBranch, M as isPlainVersion, N as maintenanceBranchName, O as branchSlug, P as maintenanceViolations, R as prPreviewVersion, T as matchBranch, V as releaseBump, W as BUMPS, _ as ciFromEnv, b as ciSystemFor, c as hostConfigIssues, d as targetShell, f as versionFileFormat, j as highestVersion, k as compareVersions, m as DEFAULT_HOST, s as gitlabSettings, t as ConfigError, u as rootVersionHint, w as isMaintenanceBranch, x as hostProfile, y as ciProfile, z as prereleaseVersion } from "./schema-WH9ljSlL.js";
3
+ import { $t as indexTags, At as alert, B as readCiEnvironment, Bt as manualTargetStatuses, Cn as serializeChangeset, D as psQuote, F as INIT_FLAGS, Ft as firstLine, G as stampForBuild, Gt as readChangesetFile, H as serverUrlFromRemote, Ht as normalizeVersionInput, I as parseDecide, It as invalidChangesetFiles, Jt as unknownTarget, K as stampForRelease, Kt as renderSummary, Lt as isoDay, Mt as code, N as packageVersion, Nt as describeManualTarget, Ot as forgeLinks, Pt as describeMismatch, Qt as highestMarkerVersion, R as permissionLabel, Rt as isoTime, Sn as parseChangeset, St as renderSection, U as checkConsistency, Ut as planBuildNumber, Vt as manualTargets, W as readRootVersion$1, Wt as plural, Xt as autoTargets, Yt as validChangesets, Zt as hasMarker, _n as forgeHints, a as inspectTargetJobs, an as markersFor, bn as generateChangesetName, bt as insertSection, cn as prereleaseVersions, ct as loadConfig, dt as GitError, en as isReleased, fn as takenVersions, ft as LeaseError, gt as topPathspec, hn as dockerPlan, in as markerTag, jt as buildTargetPlans, kt as forgeWords, ln as releaseTag, mn as versionTagShas, mt as TagExistsError, n as DEFAULT_TARGETS_FILE, nn as latestRelease, o as renderChildPipeline, on as missingAutoTargets, pn as unfinishedReleases, pt as TagCleanupError, q as writeChanges, qt as snapshotTags, r as PLAN_JOBS, rn as latestReleaseInLine, sn as partialTag, st as CONFIG_FILE_NAMES, t as DEFAULT_CHILD_FILE, tn as lastReleaseTag, un as releasesAfter, ut as Git, vn as CHANGESET_DIR, vt as extractSection, xn as isChangesetPath, xt as insertSectionSorted, yt as extractSectionWithHeading, z as detectHost, zt as joinWords } from "./gitlab-child-HpkyOlFm.js";
4
4
  import { i as errorMessage, n as LaunchsetError, o as messageWithHint, r as describeError, t as EXPECTED_ERROR } from "./errors-CHdD4g_K.js";
5
5
  import { a as paren, c as VerifyError, l as redactUrls, o as readJson, r as errorDetail, s as send, t as basicAuth } from "./http-dQt8kfON.js";
6
6
  import { z } from "zod";
7
7
  import semver from "semver";
8
8
  import { existsSync, realpathSync } from "node:fs";
9
9
  import { mkdir, mkdtemp, readFile, readdir, rm, unlink, writeFile } from "node:fs/promises";
10
- import { dirname, join, resolve } from "node:path";
10
+ import { basename, dirname, join, resolve } from "node:path";
11
11
  import { Command, CommanderError, InvalidArgumentError, Option } from "commander";
12
+ import { isMap, isScalar, parseDocument } from "yaml";
12
13
  import { homedir, tmpdir } from "node:os";
13
14
  import { styleText } from "node:util";
14
15
  // src/core/links.ts
@@ -552,6 +553,17 @@ function shipBuild(plan) {
552
553
  const build = target ? target.buildNumber : plan.buildNumber;
553
554
  return build === null ? "" : `, build number ${build}`;
554
555
  }
556
+ /** `decision` with more notices and warnings in front (from the flow), its summary rendered again. */
557
+ function withNotes(decision, extra) {
558
+ if (extra.notices.length === 0 && extra.warnings.length === 0) return decision;
559
+ const out = {
560
+ ...decision,
561
+ notices: [...extra.notices, ...decision.notices],
562
+ warnings: [...extra.warnings, ...decision.warnings]
563
+ };
564
+ out.summary = renderReleaseSummary(out);
565
+ return out;
566
+ }
555
567
  function renderReleaseSummary(decision) {
556
568
  const { plan } = decision;
557
569
  const paragraphs = [];
@@ -2508,15 +2520,17 @@ async function changelogInfoFor(changesetPaths, options) {
2508
2520
  /** Candidates whose versions are read per `git cat-file --batch`. */
2509
2521
  const BATCH = 64;
2510
2522
  /**
2511
- * Read `version` from the JSON version file at commit `sha`. `file` is repo-relative (convert
2523
+ * Read `version` from the version file at commit `sha` (JSON, or a pubspec.yaml without its
2524
+ * `+build` suffix). `file` is repo-relative (convert
2512
2525
  * a config-root-relative `version.file` with `git.toRepoPath`).
2513
2526
  */
2514
2527
  async function readRootVersion(git, sha, file) {
2515
2528
  const text = await git.showFile(sha, file);
2516
2529
  return text === void 0 ? void 0 : parseRootVersion(text, file, sha);
2517
2530
  }
2518
- /** The `version` field of a JSON version file's text (`file` at `sha`, for the error). */
2531
+ /** The `version` field of a version file's text (`file` at `sha`, for the error). */
2519
2532
  function parseRootVersion(text, file, sha) {
2533
+ if (versionFileFormat(file) === "pubspec") return parsePubspecVersion(text, file, sha);
2520
2534
  let data;
2521
2535
  try {
2522
2536
  data = JSON.parse(text.replace(/^\uFEFF/, ""));
@@ -2529,7 +2543,20 @@ function parseRootVersion(text, file, sha) {
2529
2543
  }
2530
2544
  }
2531
2545
  /**
2532
- * A `readVersion` for a JSON version file, cached per sha. `prefetch` reads the file at many
2546
+ * The build name of a pubspec's top-level `version` (`1.5.0+12` → `1.5.0`). A commit that only
2547
+ * changes the `+N` keeps its version, so it is never a release commit.
2548
+ */
2549
+ function parsePubspecVersion(text, file, sha) {
2550
+ const doc = parseDocument(text.replace(/^\uFEFF/, ""));
2551
+ const error = doc.errors[0];
2552
+ if (error) throw new LaunchsetError("invalid-version-file", `Could not parse ${file} at commit ${sha.slice(0, 12)}: ${error.message.split("\n")[0]}`, { hint: "The version file must be valid YAML in every commit launchset inspects." });
2553
+ if (!isMap(doc.contents)) return void 0;
2554
+ const node = doc.contents.get("version", true);
2555
+ const value = isScalar(node) ? node.value : void 0;
2556
+ return typeof value === "string" ? value.split("+")[0] : void 0;
2557
+ }
2558
+ /**
2559
+ * A `readVersion` for a version file, cached per sha. `prefetch` reads the file at many
2533
2560
  * commits with one `git cat-file --batch`; a text is parsed only when its version is read.
2534
2561
  */
2535
2562
  function versionReader(git, file) {
@@ -3352,9 +3379,10 @@ async function pushCheck(context, options) {
3352
3379
  * launchset reads them), and for release and prerelease tags unless `gitlab.tagPipelines` is
3353
3380
  * true. GitHub: none (its tag pushes stay as they were).
3354
3381
  */
3355
- function tagPushOptions(context, name) {
3382
+ function tagPushOptions(context, name, options = {}) {
3356
3383
  const skipCi = hostProfile(context.host).skipCiPushOption;
3357
3384
  if (!skipCi) return [];
3385
+ if (options.skipCi) return [skipCi];
3358
3386
  const index = indexTags([name], {
3359
3387
  tags: context.config.tags,
3360
3388
  targets: context.config.targets
@@ -3363,8 +3391,8 @@ function tagPushOptions(context, name) {
3363
3391
  return [];
3364
3392
  }
3365
3393
  /** {@link tagPushOptions} for `Git.pushTag`, warning when the remote doesn't take them. */
3366
- function tagPushOptionsFor(context, name) {
3367
- const pushOptions = tagPushOptions(context, name);
3394
+ function tagPushOptionsFor(context, name, choice = {}) {
3395
+ const pushOptions = tagPushOptions(context, name, choice);
3368
3396
  return {
3369
3397
  pushOptions,
3370
3398
  onUnsupported: () => context.log.warn(`The remote doesn't take push options, so ${name} was pushed without ${pushOptions.join(", ")}: it may start a tag pipeline.`)
@@ -3375,7 +3403,7 @@ function tagPushOptionsFor(context, name) {
3375
3403
  * already points to `sha` (locally or on the remote) is fine; one that points elsewhere is a
3376
3404
  * `tag-conflict` error.
3377
3405
  */
3378
- async function ensureTag(context, name, sha) {
3406
+ async function ensureTag(context, name, sha, choice = {}) {
3379
3407
  const { git } = context;
3380
3408
  const existing = await git.tryRevParse(`refs/tags/${name}`);
3381
3409
  if (existing !== void 0 && existing !== sha) throw tagConflict(name, existing, sha);
@@ -3386,7 +3414,7 @@ async function ensureTag(context, name, sha) {
3386
3414
  }
3387
3415
  let pushed;
3388
3416
  try {
3389
- const options = tagPushOptionsFor(context, name);
3417
+ const options = tagPushOptionsFor(context, name, choice);
3390
3418
  pushed = existing === void 0 ? await git.createAndPushTag(name, sha, options) : await git.pushTag(name, options);
3391
3419
  } catch (error) {
3392
3420
  if (error instanceof TagCleanupError) throw new LaunchsetError("tag-push-failed", `pushing tag ${name} failed, and removing the local tag failed too (run \`git tag -d ${name}\`): ${errorMessage(error.cleanupError)}\n${errorMessage(error.pushError)}`, { cause: error.pushError });
@@ -4234,7 +4262,7 @@ async function deriveSource(context, targets) {
4234
4262
  /** Root version at `sha`. */
4235
4263
  async function rootVersion(context, sha) {
4236
4264
  const version = await (await rootVersionReader(context))(sha);
4237
- if (!version) throw new LaunchsetError("no-root-version", `${context.config.version.file} has no "version" at commit ${sha.slice(0, 7)}`, { hint: "Add a \"version\" field, e.g. \"version\": \"0.1.0\"." });
4265
+ if (!version) throw new LaunchsetError("no-root-version", `${context.config.version.file} has no "version" at commit ${sha.slice(0, 7)}`, { hint: rootVersionHint(context.config.version.file) });
4238
4266
  return version;
4239
4267
  }
4240
4268
  async function requireCommit(context, sha) {
@@ -4815,6 +4843,110 @@ async function previewSweep(context, options = {}) {
4815
4843
  }
4816
4844
  };
4817
4845
  }
4846
+ // src/core/baseline.ts
4847
+ /**
4848
+ * What to do about `baseline` on `branch` with the root version `version`: nothing (no
4849
+ * baseline, not the base branch, the version moved on, or it is released already), create its
4850
+ * release tag, or skip it with a warning (marker or partial tags show launchset already
4851
+ * shipped part of that version).
4852
+ */
4853
+ function baselineAction(config, input) {
4854
+ const version = config.baseline;
4855
+ if (version === void 0 || input.branch !== config.baseBranch) return void 0;
4856
+ if (input.version !== version || isReleased(input.index, version)) return void 0;
4857
+ const tag = releaseTag(config.tags, version);
4858
+ const partial = input.index.partials.get(version);
4859
+ const markers = input.index.markers.get(version);
4860
+ if (partial !== void 0 || markers !== void 0 && markers.size > 0) return {
4861
+ kind: "skip",
4862
+ warning: `\`baseline\` is ${version}, but launchset already shipped part of ${version} (${partial !== void 0 ? `partial tag ${code(partial)}` : `marker tags for ${[...markers ?? []].map(code).join(", ")}`}), so it doesn't create ${code(tag)} as a baseline. Remove \`baseline\` from the launchset config.`
4863
+ };
4864
+ return {
4865
+ kind: "create",
4866
+ version,
4867
+ tag
4868
+ };
4869
+ }
4870
+ /** The notice for a baseline tag this run created (or, in a dry run, would create). */
4871
+ function baselineNotice(action, sha, options = {}) {
4872
+ const at = code(sha.slice(0, 7));
4873
+ return options.dryRun ? `\`baseline\` is ${action.version}: the release workflow creates ${code(action.tag)} at ${at}, so ${action.version} counts as released without a build.` : `Created the baseline tag ${code(action.tag)} at ${at} (\`baseline\` in the launchset config): ${action.version} counts as released, nothing was built. You can remove \`baseline\` from the config now.`;
4874
+ }
4875
+ // src/flow/baseline.ts
4876
+ /**
4877
+ * `baseline` in the release flow (spec 11.1 step 5): on the base branch, create the baseline
4878
+ * version's release tag at HEAD (pushed with launchset's credentials, like every tag it creates)
4879
+ * and plan as if it had been there all along.
4880
+ */
4881
+ /**
4882
+ * Apply `baseline` to a gathered release state. With `dryRun` (`launchset plan`) the tag isn't
4883
+ * created, but the plan is the one the release workflow will make. The tag is pushed with the
4884
+ * host's skip-CI option (GitLab `ci.skip`, also with `gitlab.tagPipelines`). On GitHub it starts
4885
+ * the tag workflows of HEAD's commit: launchset's own only run on branch pushes, but tag
4886
+ * workflows the team kept run for it too.
4887
+ *
4888
+ * The tag is only created when the config in use is the one committed at HEAD: run locally right
4889
+ * after `init`, before the migration is committed, HEAD is the commit before it, which still has
4890
+ * the old tag workflows. Then it is planned like a dry run, with a warning.
4891
+ */
4892
+ async function applyBaseline(context, state, options = {}) {
4893
+ const action = baselineAction(context.config, {
4894
+ branch: state.branch,
4895
+ version: state.version,
4896
+ index: state.tags.index
4897
+ });
4898
+ if (action === void 0) return {
4899
+ state,
4900
+ notices: [],
4901
+ warnings: []
4902
+ };
4903
+ if (action.kind === "skip") return {
4904
+ state,
4905
+ notices: [],
4906
+ warnings: [action.warning]
4907
+ };
4908
+ const warnings = [];
4909
+ let dryRun = options.dryRun ?? false;
4910
+ if (!dryRun && !await configCommitted(context, state.headSha)) {
4911
+ dryRun = true;
4912
+ warnings.push(`\`baseline\` is ${action.version}, but the launchset config isn't committed at ${code(state.headSha.slice(0, 7))}, so ${code(action.tag)} isn't created here: a tag on a commit before the migration would start its tag-triggered workflows. Commit the config; the release workflow creates the tag after the merge.`);
4913
+ }
4914
+ if (!dryRun) try {
4915
+ await ensureTag(context, action.tag, state.headSha, { skipCi: true });
4916
+ } catch (error) {
4917
+ if (!(error instanceof LaunchsetError && error.code === "tag-conflict") || !options.regather) throw error;
4918
+ return {
4919
+ state: await options.regather(),
4920
+ notices: [`Another release run created the baseline tag ${code(action.tag)} first.`],
4921
+ warnings: []
4922
+ };
4923
+ }
4924
+ const refs = (await context.git.tags()).filter((t) => t.name !== action.tag);
4925
+ const reachableReleases = [.../* @__PURE__ */ new Set([...state.reachableReleases, action.version])];
4926
+ return {
4927
+ state: {
4928
+ ...state,
4929
+ tags: snapshotTags([...refs, {
4930
+ name: action.tag,
4931
+ sha: state.headSha
4932
+ }], context.config),
4933
+ reachableReleases,
4934
+ lastReleaseTag: lastReleaseTagOf(context, reachableReleases),
4935
+ commitsSinceRelease: [],
4936
+ botPrs: [],
4937
+ headIsReleaseCommit: false,
4938
+ releaseCommit: state.headSha
4939
+ },
4940
+ notices: [baselineNotice(action, state.headSha, { dryRun })],
4941
+ warnings
4942
+ };
4943
+ }
4944
+ /** True when the config file in use is committed at `sha` with the same content. */
4945
+ async function configCommitted(context, sha) {
4946
+ const path = await context.git.toRepoPath(basename(context.configFile));
4947
+ const [committed, current] = await Promise.all([context.git.showFile(sha, path), readFile(context.configFile, "utf8")]);
4948
+ return committed === current;
4949
+ }
4818
4950
  // src/flow/release.ts
4819
4951
  /**
4820
4952
  * `command: release` (spec 9.3): decide the mode and, in `release-pr` mode, rebuild the
@@ -4823,11 +4955,16 @@ async function previewSweep(context, options = {}) {
4823
4955
  */
4824
4956
  /** `command: release` (spec 9.3). */
4825
4957
  async function release(context, options = {}) {
4826
- const state = await gatherReleaseState(context, {
4958
+ const gather = (fetch = options.fetch) => gatherReleaseState(context, {
4827
4959
  ...options.branch ? { branch: options.branch } : {},
4828
- ...options.fetch !== void 0 ? { fetch: options.fetch } : {}
4960
+ ...fetch !== void 0 ? { fetch } : {}
4961
+ });
4962
+ const baseline = await applyBaseline(context, await gather(), {
4963
+ dryRun: options.dryRun ?? false,
4964
+ regather: () => gather(true)
4829
4965
  });
4830
- const decision = planRelease(releaseInputFor(context, state, releaseEventFor(context, options)));
4966
+ const state = baseline.state;
4967
+ const decision = withNotes(planRelease(releaseInputFor(context, state, releaseEventFor(context, options))), baseline);
4831
4968
  const { plan } = decision;
4832
4969
  if (plan.mode === "release-pr") {
4833
4970
  const error = invalidChangesetsError(state.invalidChangesets);
@@ -5183,7 +5320,14 @@ function computeStatus(input) {
5183
5320
  shipped: auto.filter((t) => hasMarker(index, t, version)),
5184
5321
  missing: auto.filter((t) => !hasMarker(index, t, version))
5185
5322
  }));
5186
- const commitsWithoutChangeset = input.changesets.length === 0 && botPrs.length === 0 && input.commitsSinceRelease.length > 0 ? {
5323
+ const baseline = maintenance ? void 0 : baselineAction(config, {
5324
+ branch: config.baseBranch,
5325
+ version: input.version,
5326
+ index
5327
+ });
5328
+ if (baseline?.kind === "skip") warnings.push(baseline.warning);
5329
+ const pendingBaseline = baseline?.kind === "create" ? baseline : void 0;
5330
+ const commitsWithoutChangeset = pendingBaseline === void 0 && input.changesets.length === 0 && botPrs.length === 0 && input.commitsSinceRelease.length > 0 ? {
5187
5331
  since: lastRelease?.tag ?? null,
5188
5332
  commits: [...input.commitsSinceRelease]
5189
5333
  } : null;
@@ -5212,6 +5356,10 @@ function computeStatus(input) {
5212
5356
  warnings
5213
5357
  };
5214
5358
  if (nextVersionError !== void 0) data.nextVersionError = nextVersionError;
5359
+ if (pendingBaseline) data.baseline = {
5360
+ version: pendingBaseline.version,
5361
+ tag: pendingBaseline.tag
5362
+ };
5215
5363
  return data;
5216
5364
  }
5217
5365
  /** Plain-text status for the terminal (no colors). */
@@ -5220,6 +5368,7 @@ function renderStatus(data, host) {
5220
5368
  const words = forgeWords(host);
5221
5369
  const lines = [];
5222
5370
  lines.push(`Branch: ${data.branch}${data.maintenance ? " (maintenance)" : ""}`, `Version: ${data.version}`, `Last release: ${data.lastRelease ? data.lastRelease.tag : "none yet"}`);
5371
+ if (data.baseline) lines.push(`Baseline: ${data.baseline.tag}, not created yet: the first release workflow run on the base branch creates it, so ${data.baseline.version} counts as released (don't push it by hand)`);
5223
5372
  if (data.bump !== null) lines.push(`Next version: ${data.nextVersion ?? `can't be computed: ${data.nextVersionError ?? "unknown"}`} (${data.bump})`);
5224
5373
  else lines.push("Next version: nothing to release");
5225
5374
  lines.push("");
@@ -6518,7 +6667,7 @@ function createProgram(io = processIo(), state = { exitCode: 0 }) {
6518
6667
  ...io.now ? { now: io.now } : {},
6519
6668
  ...io.rng ? { rng: io.rng } : {}
6520
6669
  };
6521
- const { runInit } = await import("./init-Cv748KKZ.js");
6670
+ const { runInit } = await import("./init-CSnEh2wt.js");
6522
6671
  await runInit(options);
6523
6672
  return 0;
6524
6673
  });