Fix sentry auth token (#701)

* Fix sentry auth token

* Add missing --finalize and a 'deploys' to mark as released
pull/6/head
ta264 6 years ago committed by GitHub
parent cd7219f861
commit 082d329849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,9 +32,10 @@ PublishSourceMaps()
# Secure SENTRY_AUTH_TOKEN will only be decoded on branch builds, not PRs
if [ "${CI_WINDOWS}" = "True" ] && [ "${APPVEYOR_REPO_BRANCH}" = "develop" ] && [ ! -z "${SENTRY_AUTH_TOKEN}" ]; then
echo "Uploading source maps to sentry"
yarn sentry-cli releases new -p lidarr -p lidarr-ui -p lidarr-update "${APPVEYOR_BUILD_VERSION}-debug"
yarn sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${APPVEYOR_BUILD_VERSION}-debug"
yarn sentry-cli releases -p lidarr-ui files "${APPVEYOR_BUILD_VERSION}-debug" upload-sourcemaps _output/UI/ --rewrite
yarn sentry-cli releases set-commits --auto "${APPVEYOR_BUILD_VERSION}-debug"
yarn sentry-cli releases deploys "${APPVEYOR_BUILD_VERSION}-debug" new -e production
fi
}

@ -15,7 +15,7 @@ environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
nodejs_version: "10"
SENTRY_AUTH_TOKEN:
secure: MP3E+rX23XqSY61UGeaL3IM91yUjqBzqh25NOrICzex+m+eQ/2vhOvlNoxZC/FAcFmRkEdWiYRbQoQL/hWPFYisAQosu/J/Nath677z672E=
secure: D+iHTh2B+5AcM2GOW9r3oc+ablqKGSdxezltLHFQ7G2SioBdn8lZz/bObNTNgvcBXmY2x3Fhjc6pZaC5OK+0LMRrkEFsffH2WuXFJfK9Ino=
SENTRY_ORG: "lidarr"
install:

Loading…
Cancel
Save