From 082d3298497f0eade91d54a719c73d28b3bde731 Mon Sep 17 00:00:00 2001 From: ta264 Date: Tue, 26 Mar 2019 18:53:36 +0000 Subject: [PATCH] Fix sentry auth token (#701) * Fix sentry auth token * Add missing --finalize and a 'deploys' to mark as released --- appveyor-package.sh | 3 ++- appveyor.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor-package.sh b/appveyor-package.sh index 353396e23..406529733 100755 --- a/appveyor-package.sh +++ b/appveyor-package.sh @@ -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 } diff --git a/appveyor.yml b/appveyor.yml index c7c0d9dc4..e7b5d4ed7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: