From 9281ebf8e428d40450ad75ba61bc6f040b3bf896 Mon Sep 17 00:00:00 2001 From: Reggi Date: Wed, 22 Jan 2025 13:59:47 -0500 Subject: [PATCH] chore: fix smoke tests prerelease needs separate string args (#8057) --- scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.js b/scripts/publish.js index cb4e4e769d851..0a6ac1340a130 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -127,7 +127,7 @@ const main = async (opts) => { const workspace = publish.workspace && `--workspace=${publish.name}` const publishPkg = (...args) => npm('publish', workspace, `--tag=${publish.tag}`, ...args) - await npm('version prerelease', workspace, '--preid=smoke') + await npm('version', 'prerelease', workspace, '--preid=smoke') if (isPack) { await npm( 'pack',