List source map

This commit is contained in:
Dung Pham committed 2026-02-04 14:03:59 +07:00
1 parent 3535e6aedb
commit a0a14777e7
1 file changed
+5 -2
+5 -2
View File
@@ -50,12 +50,15 @@ RUN flutter build web --release --source-maps --dart-define=SENTRY_RELEASE=$SENT
# The build will NOT fail if this step is unavailable.
# RUN sentry-cli releases set-commits "$SENTRY_RELEASE" --commit "$VCS_REF"
RUN sentry-cli sourcemaps list --release "$SENTRY_RELEASE"
RUN sentry-cli sourcemaps upload build/web \
--release "$SENTRY_RELEASE" \
--dist "$GITHUB_SHA" \
--url-prefix "~/" \
--validate && \
sentry-cli releases finalize "$SENTRY_RELEASE"
--validate
RUN sentry-cli releases finalize "$SENTRY_RELEASE"
# Stage 2 - Create the run-time image
FROM nginx:alpine