mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
patch: send sourcemap to sentry at build
This commit is contained in:
parent
e6bbbb6676
commit
1a37c9aad1
3
.github/actions/publish/action.yml
vendored
3
.github/actions/publish/action.yml
vendored
@ -183,11 +183,12 @@ runs:
|
||||
- name: Upload sourcemap to Sentry
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: |
|
||||
VERSION=${{ steps.package_release.outputs.version }} npm run uploadSourcemap
|
||||
npm run uploadSourcemap
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ fromJSON(inputs.secrets).SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: balenaEtcher
|
||||
SENTRY_PROJECT: balenaetcher
|
||||
SENTRY_VERSION: ${{ steps.package_release.outputs.version }}
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -32,7 +32,7 @@
|
||||
"test-windows": "npm run lint && npm run test-gui && npm run test-shared && npm run test-spectron && npm run sanity-checks",
|
||||
"test": "echo npm run test-{linux,windows,macos}",
|
||||
"watch": "webpack serve --no-optimization-minimize --config ./webpack.dev.config.ts",
|
||||
"uploadSourcemap": "sentry-cli releases files $VERSION upload-sourcemaps ./generated/*.js.map",
|
||||
"uploadSourcemap": "sentry-cli -o npm_config_SENTRY_ORG -p npm_config_SENTRY_PROJECT releases files npm_config_SENTRY_VERSION upload-sourcemaps ./generated/*.js.map",
|
||||
"webpack": "webpack"
|
||||
},
|
||||
"husky": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user