From 5c88881fff1f0d8b055d4a2d3a74a8ce843db6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Tue, 23 Jun 2026 11:25:48 +0200 Subject: [PATCH] Fixed usage of `--from-publish-plan` flag used by the `/pack` subaction (#662) --- .changeset/ready-mangos-boil.md | 5 +++++ src/pack/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/ready-mangos-boil.md diff --git a/.changeset/ready-mangos-boil.md b/.changeset/ready-mangos-boil.md new file mode 100644 index 0000000..d4b0bd2 --- /dev/null +++ b/.changeset/ready-mangos-boil.md @@ -0,0 +1,5 @@ +--- +"@changesets/action": patch +--- + +Fixed usage of `--from-publish-plan` flag used by the `/pack` subaction diff --git a/src/pack/index.ts b/src/pack/index.ts index 715fcfb..e8c5b44 100644 --- a/src/pack/index.ts +++ b/src/pack/index.ts @@ -49,7 +49,7 @@ async function pack( ) { const cliArgs = ["pack", "--out-dir", args.outDir]; if (args.publishPlanPath) { - cliArgs.push("--from-plan", args.publishPlanPath); + cliArgs.push("--from-publish-plan", args.publishPlanPath); } await execChangesetsCli(cliArgs, {