mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Fix nightly release job for real (#28825)
This commit is contained in:
committed by
GitHub
parent
380f23088b
commit
47c64602c7
@@ -19,7 +19,7 @@ const run = async ({cwd, dry, tags, ci}, packageName, otp) => {
|
||||
// But for now the easiest way is just to ask if this is expected.
|
||||
const {status} = spawnSync('npm', ['view', `${packageName}@${version}`]);
|
||||
const packageExists = status === 0;
|
||||
if (!packageExists) {
|
||||
if (packageExists) {
|
||||
console.log(
|
||||
theme`{package ${packageName}} {version ${version}} has already been published.`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user