Pin node versions

This commit is contained in:
Lukas Eipert 2019-07-09 03:33:51 +02:00
parent ac83e5a4e0
commit caae675aee
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC
3 changed files with 15 additions and 9 deletions

View file

@ -79,9 +79,9 @@ function print_git_args() {
function print_node_args() {
case "$1" in
8.x) NODE_INSTALL_VERSION=8.x ;;
10.x) NODE_INSTALL_VERSION=10.x ;;
12.x) NODE_INSTALL_VERSION=12.x ;;
8.x) NODE_INSTALL_VERSION=8.16.0 ;;
10.x) NODE_INSTALL_VERSION=10.16.0 ;;
12.x) NODE_INSTALL_VERSION=12.4.0 ;;
*) echo "Unknown node version $1"; exit 1;
esac
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"