diff --git a/scripts/release.sh b/scripts/release.sh index 75d2115aadf83..a3c1356b002f7 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -7,8 +7,8 @@ unset CDPATH set -e rm -rf release *.tgz || true -rm node_modules/node-gyp/gyp/pylib/gyp/*.pyc || true -rm node_modules/node-gyp/gyp/pylib/gyp/generator/*.pyc || true +rm node_modules/node-gyp/gyp/pylib/gyp/__pycache__/*.pyc || true +rm node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/*.pyc || true mkdir release node ./bin/npm-cli.js pack --loglevel error >/dev/null mv *.tgz release