@samitouri / QOS-React / commits / adb7173938

Fix nightly release job for real (#28825)

Sebastian Silbermann committed Apr 11, 2024 at 18:28 UTC adb71739386c1d8800ee80d11713a401ccdc7af8
1 file changed +1 -1
scripts/release/publish-commands/publish-to-npm.js
+1 -1
@@ -19,7 +19,7 @@ const run = async ({cwd, dry, tags, ci}, packageName, otp) => {
19 // But for now the easiest way is just to ask if this is expected.
20 const {status} = spawnSync('npm', ['view', `${packageName}@${version}`]);
21 const packageExists = status === 0;
22 - if (!packageExists) {
22 + if (packageExists) {
23 console.log(
24 theme`{package ${packageName}} {version ${version}} has already been published.`
25 );