Skip to content
Snippets Groups Projects
Commit a6ed10c6 authored by poka's avatar poka
Browse files

update build script

parent ff29ff80
No related branches found
No related tags found
No related merge requests found
Pipeline #34661 waiting for manual action
......@@ -1192,8 +1192,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: gecko-fixes-3
resolved-ref: ac7347e907ca30766eedb9e15583ebc20916d56c
ref: "8b254d9e98cb367b4a57d67f8c6f5bbe89a52552"
resolved-ref: "8b254d9e98cb367b4a57d67f8c6f5bbe89a52552"
url: "https://github.com/poka-IT/sdk.git"
source: git
version: "0.5.4+4"
......
......@@ -43,8 +43,8 @@ dependencies:
# url: https://github.com/polkawallet-io/sdk.git
# ref: develop
url: https://github.com/poka-IT/sdk.git
ref: gecko-fixes-3
# ref: ff98a117e86060a91113107f31355a17ccfb346c
# ref: gecko-fixes-3
ref: 8b254d9e98cb367b4a57d67f8c6f5bbe89a52552
dots_indicator: ^3.0.0
connectivity_plus: ^3.0.2
image_cropper: ^4.0.1
......
#!/bin/bash
set -e
fVersion=$(grep "version: " pubspec.yaml | awk '{ print $2 }')
withPush=$1
......@@ -19,7 +21,8 @@ echo "Nom du build final: ${APPNAME}-${VERSION}+${BUILD}.apk"
flutter clean
if [[ $1 == "bundle" ]]; then
flutter build appbundle --release --target-platform android-arm,android-arm64 --build-name $VERSION --build-number $BUILD
flutter build appbundle --release --build-name $VERSION --build-number $BUILD
exit 0
else
# flutter build apk --release --split-per-abi --target-platform android-arm,android-arm64 --build-name $VERSION --build-number $BUILD
flutter build apk --release --split-per-abi --build-name $VERSION --build-number $BUILD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment