Fix bash variable for sentry release creation

This commit is contained in:
Qstick 2023-07-03 13:32:54 -05:00
parent 12175334bf
commit a422104de6
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ stages:
- bash: |
echo "Uploading source maps to sentry"
curl -sL https://sentry.io/get-cli/ | bash
RELEASENAME="$Lidarr@{LIDARRVERSION}-${BUILD_SOURCEBRANCHNAME}"
RELEASENAME="Lidarr@${LIDARRVERSION}-${BUILD_SOURCEBRANCHNAME}"
sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${RELEASENAME}"
sentry-cli releases -p lidarr-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite
sentry-cli releases set-commits --auto "${RELEASENAME}"