diff options
author | Daijiro Wachi <daijiro.wachi@gmail.com> | 2017-04-04 23:19:33 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2017-04-28 01:01:40 +0300 |
commit | ee23f43bd339777399973cb0aded07cc3a004735 (patch) | |
tree | c9414b7931ffc183f150d32ebac345147049c3d1 /scripts/release.sh | |
parent | 7ecd3104e93544cb43dbecb3dd4b1822ac820669 (diff) |
cli: replace cli.js with bin/npm-cli.js and remove cli.js (#12096)
* scripts: replace cli.js with npm-cli.js
* cli: remove unused file cli.js
* docs: replace cli.js with bin/npm-cli.js
PR-URL: https://github.com/npm/npm/pull/12096
Credit: @watilde
Reviewed-By: @zkat
Diffstat (limited to 'scripts/release.sh')
-rw-r--r-- | scripts/release.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index abe6c197f..1a0c3b687 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -8,7 +8,7 @@ set -e rm -rf release *.tgz || true mkdir release -node ./cli.js pack --loglevel error >/dev/null +node ./bin/npm-cli.js pack --loglevel error >/dev/null mv *.tgz release cd release tar xzf *.tgz @@ -18,12 +18,12 @@ mv package node_modules/npm # make the zip for windows users cp node_modules/npm/bin/*.cmd . -zipname=npm-$(node ../cli.js -v).zip +zipname=npm-$(node ../bin/npm-cli.js -v).zip zip -q -9 -r -X "$zipname" *.cmd node_modules # make the tar for node's deps cd node_modules -tarname=npm-$(node ../../cli.js -v).tgz +tarname=npm-$(node ../../bin/npm-cli.js -v).tgz tar czf "$tarname" npm cd .. |