Skip to content

Commit 80bbdd5

Browse files
eps1lonrickhanlonii
authored andcommitted
Fix nightly release job for real (#28825)
1 parent 7149b49 commit 80bbdd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/publish-commands/publish-to-npm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const run = async ({cwd, dry, tags, ci}, packageName, otp) => {
1919
// But for now the easiest way is just to ask if this is expected.
2020
const {status} = spawnSync('npm', ['view', `${packageName}@${version}`]);
2121
const packageExists = status === 0;
22-
if (!packageExists) {
22+
if (packageExists) {
2323
console.log(
2424
theme`{package ${packageName}} {version ${version}} has already been published.`
2525
);

0 commit comments

Comments
 (0)