Update to yarn 1.21.1

Last year there was a recommended security update:
https://classic.yarnpkg.com/blog/2019/07/12/recommended-security-update/

This updates yarn to the latest stable version
This commit is contained in:
Lukas Eipert 2020-02-05 21:12:04 +01:00
parent 0ca8b407cc
commit 034a8bd568
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC
5 changed files with 28 additions and 27 deletions

View file

@ -3,7 +3,7 @@ set -xeuo pipefail
IFS=$'\n\t'
NODE_INSTALL_VERSION=${1:-12.4.0}
YARN_INSTALL_VERSION=${2:-1.16.0-1}
YARN_INSTALL_VERSION=${2:-1.21.1-1}
# Map MAJOR.MINOR.patch -> MAJOR.x
NODE_MAJOR=`echo $NODE_INSTALL_VERSION | sed -r -e "s/([0-9]+)\.[0-9]+.*/\1\.x/g"`