CI script fixes (sentry symbols upload)

This commit is contained in:
Vitaly Sverchinsky 2021-06-16 14:32:08 +03:00 committed by Dmitry Vedenko
parent c8e0bf343d
commit 2e0e3b4162
2 changed files with 3 additions and 5 deletions

View File

@ -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 }}

View File

@ -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}