Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored Apr 11, 2024
1 parent 4659f30 commit 9af0998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ flutter gen-l10n
dart run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intn_defs.dart lib/l10n/*.arb
flutter pub run build_runner build --delete-conflicting-outputs
if [[ ! -v SKIP_BUILD ]]; then
flutter build apk --split-per-abi --split-debug-info=./symbols --build-number="$BUILD_NUMBER" --build-name="$VERSION"
flutter build apk --split-debug-info=./symbols --build-number="$BUILD_NUMBER" --build-name="$VERSION"
flutter build appbundle --split-debug-info=./symbols --build-number="$BUILD_NUMBER" --build-name="$VERSION"
if [[ -v GITHUB_OUTPUT ]]; then
echo "SENTRY_DIST=$BUILD_NUMBER" >> "$GITHUB_OUTPUT"
echo "SENTRY_RELEASE=$VERSION" >> "$GITHUB_OUTPUT"
fi
fi
fi

0 comments on commit 9af0998

Please sign in to comment.