From 8c3bea7fed59efcc2e5c057ff1230abe48974116 Mon Sep 17 00:00:00 2001 From: Julien Gilli Date: Thu, 2 Apr 2015 16:28:03 -0700 Subject: [PATCH] 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. --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 4b242bc..c01cb68 100755 --- a/nvm.sh +++ b/nvm.sh @@ -651,7 +651,7 @@ nvm_ls_remote() { PATTERN=".*" fi 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}" \ | sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n` if [ -z "$VERSIONS" ]; then