From c7817c18313e9854741f306d0d05bed47f3462ab Mon Sep 17 00:00:00 2001 From: Code-Floof <13484789+Codel1417@users.noreply.github.com> Date: Thu, 2 May 2024 21:28:38 -0400 Subject: [PATCH] Update build.sh --- Scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/build.sh b/Scripts/build.sh index af454374..2550b23b 100644 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -25,7 +25,7 @@ dart run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-defer flutter pub run build_runner build --delete-conflicting-outputs if [[ ! -v SKIP_BUILD ]]; then - if [[ -v IOS ]]; then + if [[ $OS == 'macos_latest' ]]; then flutter build ipa $DEBUG --no-codesign --build-number="$BUILD_NUMBER" --build-name="$VERSION" else flutter build apk --split-debug-info=./symbols $DEBUG --build-number="$BUILD_NUMBER" --build-name="$VERSION"