add --tags to git fetch in manual upgrade
facilitates older `git` fetching tags so that it can actually upgrade properly
parent
592c0be195
commit
04c27e23fe
|
@ -175,7 +175,7 @@ For manual upgrade with `git` (requires git v1.7.10+):
|
||||||
```sh
|
```sh
|
||||||
(
|
(
|
||||||
cd "$NVM_DIR"
|
cd "$NVM_DIR"
|
||||||
git fetch origin
|
git fetch --tags origin
|
||||||
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
||||||
) && \. "$NVM_DIR/nvm.sh"
|
) && \. "$NVM_DIR/nvm.sh"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue