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:
parent
70370a857f
commit
8c3bea7fed
2
nvm.sh
2
nvm.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue