Support for nodejs release candidates

See https://github.com/joyent/node/pull/14412 for more details on a
proposal to include release candidates in Node.js' release process.
This commit is contained in:
Julien Gilli 2015-04-02 16:28:03 -07:00
parent 70370a857f
commit 8c3bea7fed
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -651,7 +651,7 @@ nvm_ls_remote() {
PATTERN=".*" PATTERN=".*"
fi fi
VERSIONS=`nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ -o - \ VERSIONS=`nvm_download -L -s $NVM_NODEJS_ORG_MIRROR/ -o - \
| \egrep -o 'v[0-9]+\.[0-9]+\.[0-9]+' \ | \egrep -o 'v[0-9]+\.[0-9]+\.[0-9]+(-rc\d+)?' \
| command grep -w "${PATTERN}" \ | command grep -w "${PATTERN}" \
| sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n` | sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n`
if [ -z "$VERSIONS" ]; then if [ -z "$VERSIONS" ]; then