From f2cc5adc0b804908075691381ef7bd69b384e6c7 Mon Sep 17 00:00:00 2001 From: ta264 Date: Tue, 13 Aug 2019 06:54:22 +0100 Subject: [PATCH] Fixed: Sentry source map upload --- azure-pipelines.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index da117db86..75fdcbeb5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -210,10 +210,11 @@ stages: displayName: Publish Packages - bash: | echo "Uploading source maps to sentry" - yarn sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${LIDARRVERSION}-debug" - yarn sentry-cli releases -p lidarr-ui files "${LIDARRVERSION}-debug" upload-sourcemaps _output/UI/ --rewrite - yarn sentry-cli releases set-commits --auto "${LIDARRVERSION}-debug" - yarn sentry-cli releases deploys "${LIDARRVERSION}-debug" new -e nightly + curl -sL https://sentry.io/get-cli/ | bash + sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${LIDARRVERSION}-debug" + sentry-cli releases -p lidarr-ui files "${LIDARRVERSION}-debug" upload-sourcemaps _output/UI/ --rewrite + sentry-cli releases set-commits --auto "${LIDARRVERSION}-debug" + sentry-cli releases deploys "${LIDARRVERSION}-debug" new -e nightly displayName: Publish Sentry Source Maps condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop')) env: