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:
Burak Yigit Kaya
2017-09-24 19:03:38 +01:00
parent 332b0dd7f6
commit ee5d4a153a

View File

@@ -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"