This commit is contained in:
Daniel Patterson 2018-10-30 15:38:55 -07:00
parent 535647e439
commit ec369d560a
No known key found for this signature in database
GPG Key ID: 19C12BE1725A028B

View File

@ -296,7 +296,7 @@ before_install:
fi
- |
if [[ ! -f $(which yarn) ]]; then
npm install -g yarn
npm install -g yarn@1.11.1
fi
- export PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
- export PUBLISH=$([[ "${TRAVIS_TAG:-}" == "v${PACKAGE_JSON_VERSION}" ]] && echo "On" || echo "Off")