From aa202e9dac2f927bedcaaed4db0eef7b3415fc68 Mon Sep 17 00:00:00 2001 From: Reggi Date: Wed, 22 Jan 2025 13:17:23 -0500 Subject: [PATCH] chore: smoke tests using a preid (#8056) https://github.com/npm/cli/pull/8054 broke the smoke test because were publishing the current version in a test --- scripts/publish.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/publish.js b/scripts/publish.js index a28bfd849120c..cb4e4e769d851 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -126,6 +126,8 @@ const main = async (opts) => { for (const publish of publishes) { const workspace = publish.workspace && `--workspace=${publish.name}` const publishPkg = (...args) => npm('publish', workspace, `--tag=${publish.tag}`, ...args) + + await npm('version prerelease', workspace, '--preid=smoke') if (isPack) { await npm( 'pack',