diff --git a/filcnaplo/build-ipa.sh b/filcnaplo/build-ipa.sh new file mode 100644 index 0000000..4ce4fd3 --- /dev/null +++ b/filcnaplo/build-ipa.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env fish + +# With build number +function get_version_bn + cat pubspec.yaml | grep version: | cut -d' ' -f2 +end + +function get_version + cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1 +end + +flutter build ipa --release --dart-define=APPVER=(get_version) --no-tree-shake-icons