1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-04 14:12:35 +02:00
audacity/scripts/ci/upload_debug_symbols.sh
2021-06-16 07:00:48 -07:00

17 lines
507 B
Bash

#!/usr/bin/env bash
((${BASH_VERSION%%.*} >= 4)) || { echo >&2 "$0: Error: Please upgrade Bash."; exit 1; }
set -euxo pipefail
# download sentry-cli
# TODO: currently this script downloads binaries and install them
# each time job is started, workarounds?
curl -sL https://sentry.io/get-cli/ | bash
SYMBOLS=$(find debug | xargs)
${INSTALL_DIR}/sentry-cli --auth-token ${SENTRY_AUTH_TOKEN} --url ${SENTRY_HOST} upload-dif \
--org ${SENTRY_ORG_SLUG} \
--project ${SENTRY_PROJECT_SLUG} ${SYMBOLS}