fix build

This commit is contained in:
55nknown
2022-11-20 23:03:50 +01:00
parent 89e67c369e
commit f38ff3b862
5 changed files with 5 additions and 21 deletions

View File

@@ -9,12 +9,5 @@ function get_version
cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1
end
set DEFAULT_KEY $HOME/keys/filc3.properties
if test -e $DEFAULT_KEY
echo Using \"$DEFAULT_KEY\" for signing
set -x ANDROID_SIGNING $DEFAULT_KEY
end
flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons
cp -v "build/app/outputs/flutter-apk/app-release.apk" ~/"Desktop/hu.filc.naplo_"(get_version_bn).apk
flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons && \
cp -v "build/app/outputs/flutter-apk/app-release.apk" ~/"Desktop/hu.filc.naplo_"(get_version_bn).apk