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"