From 3aa5fffe9d6277295fbf9ac9f22feb6f4390d8d3 Mon Sep 17 00:00:00 2001 From: chouchouji <1305974212@qq.com> Date: Tue, 24 Dec 2024 14:26:58 +0800 Subject: [PATCH] fix: skip confirm registry when skipNpmPublish is true --- src/release.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/release.ts b/src/release.ts index 6a06fb2..c0ef7eb 100644 --- a/src/release.ts +++ b/src/release.ts @@ -209,7 +209,7 @@ export async function release(options: ReleaseCommandOptions) { return } - if (!(await confirmRegistry())) { + if (!options.skipNpmPublish && !(await confirmRegistry())) { return }