mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-01-12 22:53:44 +08:00
Chore: use npm@4 for publishing tarballs
**Summary** Yarn 1.1.0 release failed due to a bug in npm@5: https://github.com/npm/npm/issues/16723. This patch uses `npx` to force using `np@4` when publishing in `update-npm.sh`. **Test plan** CircleCI
This commit is contained in:
@@ -27,4 +27,4 @@ if [ "$release_type" = "rc" ]; then
|
||||
npm_flags='--tag rc'
|
||||
fi;
|
||||
|
||||
eval "npm publish '$tarball' --access public $npm_flags"
|
||||
eval "npx npm@4 publish '$tarball' --access public $npm_flags"
|
||||
|
||||
Reference in New Issue
Block a user