From 03a779ea9cb8daada8291fb90ea70469c979af61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=B3ricz=20Gerg=C5=91?= Date: Sat, 27 May 2023 15:45:55 +0200 Subject: [PATCH] fix(build): scripts shouldn't need fish --- filcnaplo/build-ipa.sh | 13 ++----------- filcnaplo/build.sh | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/filcnaplo/build-ipa.sh b/filcnaplo/build-ipa.sh index 4ce4fd3..4ed678f 100644 --- a/filcnaplo/build-ipa.sh +++ b/filcnaplo/build-ipa.sh @@ -1,12 +1,3 @@ -#!/usr/bin/env fish +#!/bin/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 ipa --release --dart-define=APPVER=(get_version) --no-tree-shake-icons +flutter build ipa --release --dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1) --no-tree-shake-icons diff --git a/filcnaplo/build.sh b/filcnaplo/build.sh index a38f5ed..cd26752 100755 --- a/filcnaplo/build.sh +++ b/filcnaplo/build.sh @@ -1,3 +1,3 @@ -#!/usr/bin/env sh +#!/bin/sh flutter build apk --release --dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1) --no-tree-shake-icons