diff options
author | kumavis <aaron@kumavis.me> | 2018-04-04 03:36:46 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-04-04 03:36:46 +0800 |
commit | 92dd2b32187c6e4514823612af9259061bc0e4cb (patch) | |
tree | fbdc5a5c79238d186302d01fe016dca4b5f856cd /package.json | |
parent | 6029ebf0edc4ce366aaaa98bc09455c94e759c1d (diff) | |
download | tangerine-wallet-browser-92dd2b32187c6e4514823612af9259061bc0e4cb.tar.gz tangerine-wallet-browser-92dd2b32187c6e4514823612af9259061bc0e4cb.tar.zst tangerine-wallet-browser-92dd2b32187c6e4514823612af9259061bc0e4cb.zip |
ci - job-publish - publish source+sourcemaps to sentry if new release
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/package.json b/package.json index 1227b82b7..310e357ca 100644 --- a/package.json +++ b/package.json @@ -31,13 +31,7 @@ "test:mascara:build:background": "browserify mascara/src/background.js -o dist/mascara/background.js", "test:mascara:build:tests": "browserify test/integration/lib/first-time.js -o dist/mascara/tests.js", "ganache:start": "ganache-cli -m 'phrase upgrade clock rough situate wedding elder clever doctor stamp excess tent'", - "sentry": "export RELEASE=`cat app/manifest.json| jq -r .version` && npm run sentry:release && npm run sentry:upload", - "sentry:release": "npm run sentry:release:new && npm run sentry:release:clean", - "sentry:release:new": "sentry-cli releases --org 'metamask' --project 'metamask' new $RELEASE", - "sentry:release:clean": "sentry-cli releases --org 'metamask' --project 'metamask' files $RELEASE delete --all", - "sentry:upload": "npm run sentry:upload:source && npm run sentry:upload:maps", - "sentry:upload:source": "for FILEPATH in ./dist/chrome/scripts/*.js; do [ -e $FILEPATH ] || continue; export FILE=`basename $FILEPATH` && echo uploading $FILE && sentry-cli releases --org 'metamask' --project 'metamask' files $RELEASE upload $FILEPATH metamask/scripts/$FILE; done;", - "sentry:upload:maps": "sentry-cli releases --org 'metamask' --project 'metamask' files $RELEASE upload-sourcemaps ./dist/sourcemaps/ --url-prefix 'sourcemaps' --rewrite", + "sentry:publish": "node ./development/sentry-publish.js", "lint": "gulp lint", "lint:fix": "gulp lint:fix", "ui": "npm run test:flat:build:states && beefy development/ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", |