Fix publishing symbols to sentry

This commit is contained in:
ziajka 2019-04-29 12:22:55 +02:00
parent b1cf54b03a
commit c1d6db586c

View File

@ -73,7 +73,7 @@ after_script:
# build sourcemaps and upload to Sentry
# fix node issue with memory
- |
if [ -n "$TRAVIS_TAG" ];
if [ -n "$TRAVIS_TAG" ]; then
export NODE_OPTIONS=--max_old_space_size=4096
export RELEASE_VERSION=$(node -e "const fs = require('fs'); let p = fs.readFileSync('package.json'); console.log(JSON.parse(p).version);")
yarn ng build --configuration=production --base-href /static/web-ui/