fix: app version (#1828)

This commit is contained in:
Richard Shiue 2023-02-09 20:24:43 +08:00 committed by GitHub
parent 6b8c7d7bc6
commit 72768a2f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"