Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: app version (#1828)

Richard Shiue72768a2f7735
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"