1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 11:33:35 +03:00

sentry wip

This commit is contained in:
Eugene Pankov 2021-01-04 20:02:47 +01:00
parent 6d016002c0
commit cdc3623986
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
3 changed files with 15 additions and 20 deletions

View File

@ -38,21 +38,15 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
USE_HARD_LINKS: false
- name: Sentry release
uses: getsentry/action-release@v1.0.0
- name: Upload symbols
run: |
sudo npm install -g @sentry/cli --unsafe-perm
sentry-cli releases new ${{ github.ref }} || true
sentry-cli upload-dif app/node_modules
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
version: ${{ github.ref }}
version_prefix: v
sourcemaps: app/dist terminus-core/dist terminus-terminal/dist terminus-serial/dist terminus-ssh/dist terminus-settings/dist terminus-plugin-manager/dist
- name: Upload symbols
run: |
sudo npm install -g @sentry/cli --unsafe-perm
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org ${{ secrets.SENTRY_ORG }} --project ${{ secrets.SENTRY_PROJECT }} app/node_modules
- name: Package artifacts
run: |

View File

@ -80,7 +80,12 @@ jobs:
dsymutil app/node_modules/@terminus-term/node-pty/build/Release/pty.node
dsymutil app/node_modules/fontmanager-redux/build/Release/fontmanager.node
dsymutil app/node_modules/macos-native-processlist/build/Release/native.node
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org ${{ secrets.SENTRY_ORG }} --project ${{ secrets.SENTRY_PROJECT }} app/node_modules
sentry-cli releases new ${{ github.ref }} || true
sentry-cli upload-dif app/node_modules
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
- name: Package artifacts
run: |

View File

@ -37,18 +37,14 @@ jobs:
- name: Upload symbols
run: |
npm install @sentry/cli
node_modules/.bin/sentry-cli.cmd --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org ${{ secrets.SENTRY_ORG }} --project ${{ secrets.SENTRY_PROJECT }} app/node_modules
- name: Sentry release
uses: getsentry/action-release@v1.0.0
node_modules/.bin/sentry-cli.cmd upload-dif app/node_modules
node_modules/.bin/sentry-cli.cmd releases new ${{ github.ref }} || true
node_modules/.bin/sentry-cli.cmd releases set-commits --auto ${{ github.ref }}
node_modules/.bin/sentry-cli.cmd releases files ${{ github.ref }} upload-sourcemaps app/dist terminus-core/dist terminus-terminal/dist terminus-serial/dist terminus-ssh/dist terminus-settings/dist terminus-plugin-manager/dist
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
version: ${{ github.ref }}
version_prefix: v
sourcemaps: app/dist terminus-core/dist terminus-terminal/dist terminus-serial/dist terminus-ssh/dist terminus-settings/dist terminus-plugin-manager/dist
- name: Package artifacts
run: |