@mutmutco/cli 2.3.0 → 2.5.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.
Files changed (2) hide show
  1. package/dist/index.cjs +4 -4
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -4705,9 +4705,9 @@ function requireValue(value, label) {
4705
4705
  function releaseTagFromRcTag(tag) {
4706
4706
  return tag.replace(/-rc\.\d+$/, "");
4707
4707
  }
4708
- async function verifyHubDistributionIfChanged(deps, model, releaseTag) {
4708
+ async function verifyHubDistributionVersion(deps, model, releaseTag) {
4709
4709
  if (model !== "hub-serverless") return;
4710
- await deps.run("node", ["scripts/release-distribution.mjs", "verify-if-changed", releaseTag, "--skip-npm-view"]);
4710
+ await deps.run("node", ["scripts/release-distribution.mjs", "verify", releaseTag, "--skip-npm-view"]);
4711
4711
  }
4712
4712
  function ensurePositiveCount(out, emptyMessage) {
4713
4713
  const count = Number.parseInt(out.trim(), 10);
@@ -4792,7 +4792,7 @@ async function runTrainApply(command, deps) {
4792
4792
  );
4793
4793
  const deployModel2 = await preflight(deps, ctx, "rc");
4794
4794
  const tag2 = requireValue(clean(await deps.run("node", ["scripts/next-version.mjs", "rc"])), "rc tag");
4795
- await verifyHubDistributionIfChanged(deps, deployModel2, releaseTagFromRcTag(tag2));
4795
+ await verifyHubDistributionVersion(deps, deployModel2, releaseTagFromRcTag(tag2));
4796
4796
  await deps.run("git", ["checkout", "rc"]);
4797
4797
  await deps.run("git", ["pull", "--ff-only", "origin", "rc"]);
4798
4798
  await deps.run("git", ["merge", "development", "--no-edit"]);
@@ -4812,7 +4812,7 @@ async function runTrainApply(command, deps) {
4812
4812
  await deps.run("git", ["pull", "--ff-only", "origin", "main"]);
4813
4813
  await deps.run("git", ["merge", "rc", "--no-edit"]);
4814
4814
  const tag = requireValue(clean(await deps.run("node", ["scripts/next-version.mjs", "release"])), "release tag");
4815
- await verifyHubDistributionIfChanged(deps, deployModel, tag);
4815
+ await verifyHubDistributionVersion(deps, deployModel, tag);
4816
4816
  await deps.run("git", ["tag", tag]);
4817
4817
  await deps.run("git", ["push", "origin", "main"]);
4818
4818
  await deps.run("git", ["push", "origin", tag]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "description": "MMI Future CLI — delivers the org rules (whole-file), plus saga and KB access. The cross-IDE engine the plugin's SessionStart hook drives.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",