fix fucky end of line sequence on build script

This commit is contained in:
chromium 2023-05-27 15:39:37 +02:00
parent 35524589e4
commit de079bd6ee

View File

@ -1,12 +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 apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons
#!/usr/bin/env sh
# 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 apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons