Lines Matching +full:- +full:- +full:workspace
2 set -e
9 if [ "$#" -le 0 ]; then
14 echo "Making temporary workspace"
16 WORKSPACE=$(mktemp -d 2> /dev/null || mktemp -d -t 'tmp')
20 [ -d "$WORKSPACE" ] && rm -rf "$WORKSPACE"
26 cd "$WORKSPACE"
28 git clone --depth=1 --branch="v$NPM_VERSION" git@github.com:npm/cli.git
39 rm -rf npm/
43 tar zxf "$WORKSPACE"/cli/release/npm-"$NPM_VERSION".tgz
48 echo "Please git add npm, commit the new version, and whitespace-fix:"
50 echo "$ git add -A deps/npm"
51 echo "$ git commit -m \"deps: upgrade npm to $NPM_VERSION\""
52 echo "$ git rebase --whitespace=fix master"