run release script

This commit is contained in:
unknown
2022-02-28 15:37:04 +01:00
parent c71a6d9468
commit aab1f605d4
2 changed files with 13 additions and 1 deletions

12
filcnaplo/run_release.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/fish
function get_version
cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1
end
if test -e /mnt/enc/keys/filc3.properties
set -x ANDROID_SIGNING /mnt/enc/keys/filc3.properties
end
flutter run --release --dart-define=APPVER=(get_version)