v0.21.0
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Jordan Harband · committed by Jordan Harband · parent 0cb8c9a · Browse files · 4 files·+8 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+8 added−8 removed
- other:+8 added−8 removed
Provenance
- Commit
bef3a5c- Tree
6e58626- Author
Jordan Harband <ljharb@gmail.com>- Committer
Jordan Harband <ljharb@gmail.com>- Parent
0cb8c9a
4 files changed+8 added−8 removed
modified:install.sh+3 added-3 removed
25 unmodified lines2627282930303132323334353631 unmodified lines68697071727273747576108 unmodified linesExpand all25 unmodified lines echo "$NVM_SOURCE" return 0 fi if [ "_$NVM_METHOD" = "_script" ]; then NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/v0.20.0/nvm.sh" NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/v0.21.0/nvm.sh" elif [ "_$NVM_METHOD" = "_script-nvm-exec" ]; then NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/v0.20.0/nvm-exec" NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/v0.21.0/nvm-exec" elif [ "_$NVM_METHOD" = "_git" ] || [ -z "$NVM_METHOD" ]; then NVM_SOURCE="https://github.com/creationix/nvm.git" else echo >&2 "Unexpected value \"$NVM_METHOD\" for \$NVM_METHOD"31 unmodified lines printf "\r=> " mkdir -p "$NVM_DIR" git clone "$(nvm_source "git")" "$NVM_DIR" fi cd "$NVM_DIR" && git checkout --quiet v0.20.0 && git branch --quiet -D master >/dev/null 2>&1 cd "$NVM_DIR" && git checkout --quiet v0.21.0 && git branch --quiet -D master >/dev/null 2>&1 return}
install_nvm_as_script() {108 unmodified linesExpand allmodified:nvm.sh+1 added-1 removed
1097 unmodified lines1098 "version" )1099 nvm_version $21100 ;;1101 "--version" )1102- echo "0.20.0"1102+ echo "0.21.0"1103 ;;1104 "unload" )1105 unset -f nvm nvm_print_versions nvm_checksum nvm_ls_remote nvm_ls nvm_remote_version nvm_version nvm_rc_version nvm_version_greater nvm_version_greater_than_or_equal_to > /dev/null 2>&11106 unset RC_VERSION NVM_NODEJS_ORG_MIRROR NVM_DIR NVM_CD_FLAGS > /dev/null 2>&113 unmodified linesmodified:package.json+1 added-1 removed
1 {2 "name": "nvm",3- "version": "0.20.0",3+ "version": "0.21.0",4 "description": "Node Version Manager - Simple bash script to manage multiple active node.js versions",5 "directories": {6 "test": "test"7 },30 unmodified linesmodified:README.markdown+3 added-3 removed
10 unmodified lines11 ### Install script12 13 To install you could use the [install script][2] using cURL:14 15- curl https://raw.githubusercontent.com/creationix/nvm/v0.20.0/install.sh | bash15+ curl https://raw.githubusercontent.com/creationix/nvm/v0.21.0/install.sh | bash16 17 or Wget:18 19- wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.20.0/install.sh | bash19+ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.21.0/install.sh | bash20 21 <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub>22 23 You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR`, and `PROFILE` variables.166 unmodified lines190 191 nvm install -s 0.8.6192 193 [1]: https://github.com/creationix/nvm.git194-[2]: https://github.com/creationix/nvm/blob/v0.20.0/install.sh194+[2]: https://github.com/creationix/nvm/blob/v0.21.0/install.sh195 [3]: https://travis-ci.org/creationix/nvm196 [Urchin]: https://github.com/scraperwiki/urchin197