From 72768a2f773595562ad9536b48f36251d96a5f3c Mon Sep 17 00:00:00 2001 From: Richard Shiue <71320345+richardshiue@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:24:43 +0800 Subject: [PATCH] fix: app version (#1828) --- frontend/scripts/makefile/flutter.toml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/scripts/makefile/flutter.toml b/frontend/scripts/makefile/flutter.toml index 046c3ef7e6..51846ee7f6 100644 --- a/frontend/scripts/makefile/flutter.toml +++ b/frontend/scripts/makefile/flutter.toml @@ -173,21 +173,12 @@ script = [""" """] script_runner = "@shell" -[tasks.flutter-build.linux] -script = [""" - cd app_flowy/ - flutter clean - flutter pub get - flutter build ${TARGET_OS} --${BUILD_FLAG} - """] -script_runner = "@shell" - [tasks.flutter-build.windows] script = [""" cd app_flowy exec cmd.exe /c flutter clean exec cmd.exe /c flutter pub get - exec cmd.exe /c flutter build ${TARGET_OS} --${BUILD_FLAG} + exec cmd.exe /c flutter build ${TARGET_OS} --${BUILD_FLAG} --build-name=${APP_VERSION} """] script_runner = "@duckscript"