helm/dev/+js/update
2017-07-17 13:20:25 +02:00

10 lines
187 B
Bash
Executable file

#!/usr/bin/env bash
(
cd "$NVM_DIR"
git fetch origin
git checkout $(git describe --abbrev=0 --tags --match "v[0-9]*" origin)
) && . "$NVM_DIR/nvm.sh"
nvm run node update -g