fix(sentry): sync dist parameter to resolve minified stack traces
This commit is contained in:
+3
-1
@@ -20,7 +20,9 @@ ENV GITHUB_SHA=$GITHUB_SHA \
|
||||
SENTRY_RELEASE=$SENTRY_RELEASE
|
||||
|
||||
RUN ./scripts/prebuild.sh && \
|
||||
flutter build web --release --source-maps --dart-define=SENTRY_RELEASE=$SENTRY_RELEASE && \
|
||||
flutter build web --release --source-maps \
|
||||
--dart-define=SENTRY_RELEASE=$SENTRY_RELEASE \
|
||||
--dart-define=SENTRY_DIST=$GITHUB_SHA && \
|
||||
if [ -n "$SENTRY_AUTH_TOKEN" ] && [ -n "$SENTRY_ORG" ] && [ -n "$SENTRY_PROJECT" ] && [ -n "$SENTRY_RELEASE" ]; then \
|
||||
echo "Sentry configuration detected, uploading sourcemaps..." && \
|
||||
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.20.7 bash && \
|
||||
|
||||
Reference in New Issue
Block a user