don't copy built apk file to the desktop

This commit is contained in:
chromium 2023-05-27 15:02:45 +02:00 committed by GitHub
parent 74caba75d6
commit 5cb4e5c82e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,5 +9,4 @@ function get_version
cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1 cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1
end end
flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons && \ 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