Files
openclaw-openclaw/scripts/plugin-npm-release-plan.ts
Kevin Lin 9d2d517296 feat: publish plugins with extended-stable releases (#100448)
* feat(release): publish plugins on extended-stable

* feat(plugins): align extended-stable with core

* docs: explain extended-stable plugin alignment

* fix(release): make plugin convergence recoverable

* fix(plugins): preserve extended-stable fallback intent

* fix(release): keep plugin tag mutation credential-isolated
2026-07-05 16:16:26 -07:00

22 lines
770 B
JavaScript

#!/usr/bin/env -S node --import tsx
// Plugin Npm Release Plan script supports OpenClaw repository automation.
import { pathToFileURL } from "node:url";
import { collectPluginReleasePlan, parsePluginNpmReleaseArgs } from "./lib/plugin-npm-release.ts";
export function collectPluginNpmReleasePlan(argv: string[]) {
const { selection, selectionMode, npmDistTag, baseRef, headRef } =
parsePluginNpmReleaseArgs(argv);
return collectPluginReleasePlan({
selection,
selectionMode,
npmDistTag,
gitRange: baseRef && headRef ? { baseRef, headRef } : undefined,
});
}
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
const plan = collectPluginNpmReleasePlan(process.argv.slice(2));
console.log(JSON.stringify(plan, null, 2));
}