CI script fixes (sentry symbols upload)
This commit is contained in:
parent
c8e0bf343d
commit
2e0e3b4162
|
@ -97,11 +97,9 @@ jobs:
|
|||
exec bash "scripts/ci/build.sh"
|
||||
|
||||
- name: Upload debug symbols
|
||||
if: startsWith(github.ref, 'refs/tags/release-')
|
||||
if: startsWith(github.ref, 'refs/heads/release-')
|
||||
env:
|
||||
SENTRY_DSN_KEY: ${{ secrets.SENTRY_DSN_KEY }}
|
||||
SENTRY_HOST: ${{ secrets.SENTRY_HOST }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG_SLUG: ${{ secrets.SENTRY_ORG_SLUG }}
|
||||
SENTRY_PROJECT_SLUG: ${{ secrets.SENTRY_PROJECT_SLUG }}
|
||||
|
|
|
@ -11,6 +11,6 @@ curl -sL https://sentry.io/get-cli/ | bash
|
|||
|
||||
SYMBOLS=$(find debug | xargs)
|
||||
|
||||
${INSTALL_DIR}/sentry-cli --auth-token ${SENTRY_AUTH_TOKEN} --url ${SENTRY_HOST} \
|
||||
--org ${SENTRY_ORG_SLUG}} \
|
||||
${INSTALL_DIR}/sentry-cli --auth-token ${SENTRY_AUTH_TOKEN} --url ${SENTRY_HOST} upload-dif \
|
||||
--org ${SENTRY_ORG_SLUG} \
|
||||
--project ${SENTRY_PROJECT_SLUG} ${SYMBOLS}
|
||||
|
|
Loading…
Reference in New Issue