forked from firka/student-legacy
add build-ipa.sh
This commit is contained in:
parent
62694c4bb8
commit
eb9e433070
12
filcnaplo/build-ipa.sh
Normal file
12
filcnaplo/build-ipa.sh
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user