Fix sentry auth token (#701)

* Fix sentry auth token

* Add missing --finalize and a 'deploys' to mark as released
This commit is contained in:
ta264 2019-03-26 18:53:36 +00:00 committed by GitHub
parent cd7219f861
commit 082d329849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

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

View File

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