Browse Source

fix: app version (#1828)

Richard Shiue 2 years ago
parent
commit
72768a2f77
1 changed files with 1 additions and 10 deletions
  1. 1 10
      frontend/scripts/makefile/flutter.toml

+ 1 - 10
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"