Skip to content

Commit 287ebfb

Browse files
LynxLynxxdt-iohk
andauthored
feat(cat-voices): adding set builder number before building web (#399)
* feat: ading set builder number before building web * changing to use inline flag * fix: disable service worker generation * style: formatting * chore: drop SENTRY_DNS arg --------- Co-authored-by: Dominik Toton <dominik.toton@iohk.io>
1 parent 91fc23f commit 287ebfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

earthly/flutter/Earthfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ BUILD_WEB:
240240
ARG --required TARGET
241241
ARG BUILD_MODE='--release'
242242
ARG SAVE_LOCALLY=false
243-
ARG SENTRY_DSN
244243
ARG WORKDIR
245244

246245
WORKDIR $WORKDIR
246+
247247
RUN flutter clean
248248
RUN flutter pub get
249-
RUN flutter build web $BUILD_MODE --target $TARGET --dart-define SENTRY_DSN=$SENTRY_DSN
249+
RUN flutter build web $BUILD_MODE --pwa-strategy=none --target $TARGET --build-number=$(date +%s)
250250

251251
WORKDIR "$WORKDIR/build"
252252
IF [ $SAVE_LOCALLY = true ]

0 commit comments

Comments
 (0)