From 9f2d55a6178174f0ee2d0ce3c6a05d6ac41f6f8a Mon Sep 17 00:00:00 2001 From: reggi Date: Wed, 22 Jan 2025 13:57:41 -0500 Subject: [PATCH] chore: fix smoke tests prerelease needs seperate string args --- 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',