mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
fix publish spawn ENOENT err
This commit is contained in:
1 parent
6d496258a6
commit
aeee124197
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ if (CI && (!tag || GITHUB_EVENT_NAME !== 'push')) {
|
|||||||
console.log(`publishing ${name}@${bumpMap[name]} ...`);
|
console.log(`publishing ${name}@${bumpMap[name]} ...`);
|
||||||
await spawnAsync(
|
await spawnAsync(
|
||||||
`yarn npm publish --new-version ${bumpMap[name]}${tag === 'dev' ? '-dev' : ''} --access public --tag ${tag}`,
|
`yarn npm publish --new-version ${bumpMap[name]}${tag === 'dev' ? '-dev' : ''} --access public --tag ${tag}`,
|
||||||
path.resolve(`packages/${name}`),
|
path.resolve(name),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user