Fixed usage of --from-publish-plan flag used by the /pack subaction (#662)

This commit is contained in:
Mateusz Burzyński
2026-06-23 09:25:48 +00:00
committed by GitHub
parent dad5baf18b
commit 5c88881fff
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@changesets/action": patch
---
Fixed usage of `--from-publish-plan` flag used by the `/pack` subaction
+1 -1
View File
@@ -49,7 +49,7 @@ async function pack(
) { ) {
const cliArgs = ["pack", "--out-dir", args.outDir]; const cliArgs = ["pack", "--out-dir", args.outDir];
if (args.publishPlanPath) { if (args.publishPlanPath) {
cliArgs.push("--from-plan", args.publishPlanPath); cliArgs.push("--from-publish-plan", args.publishPlanPath);
} }
await execChangesetsCli(cliArgs, { await execChangesetsCli(cliArgs, {