update build script
This commit is contained in:
parent
ff29ff8086
commit
a6ed10c6b7
|
@ -1192,8 +1192,8 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: gecko-fixes-3
|
ref: "8b254d9e98cb367b4a57d67f8c6f5bbe89a52552"
|
||||||
resolved-ref: ac7347e907ca30766eedb9e15583ebc20916d56c
|
resolved-ref: "8b254d9e98cb367b4a57d67f8c6f5bbe89a52552"
|
||||||
url: "https://github.com/poka-IT/sdk.git"
|
url: "https://github.com/poka-IT/sdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.5.4+4"
|
version: "0.5.4+4"
|
||||||
|
|
|
@ -43,8 +43,8 @@ dependencies:
|
||||||
# url: https://github.com/polkawallet-io/sdk.git
|
# url: https://github.com/polkawallet-io/sdk.git
|
||||||
# ref: develop
|
# ref: develop
|
||||||
url: https://github.com/poka-IT/sdk.git
|
url: https://github.com/poka-IT/sdk.git
|
||||||
ref: gecko-fixes-3
|
# ref: gecko-fixes-3
|
||||||
# ref: ff98a117e86060a91113107f31355a17ccfb346c
|
ref: 8b254d9e98cb367b4a57d67f8c6f5bbe89a52552
|
||||||
dots_indicator: ^3.0.0
|
dots_indicator: ^3.0.0
|
||||||
connectivity_plus: ^3.0.2
|
connectivity_plus: ^3.0.2
|
||||||
image_cropper: ^4.0.1
|
image_cropper: ^4.0.1
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
fVersion=$(grep "version: " pubspec.yaml | awk '{ print $2 }')
|
fVersion=$(grep "version: " pubspec.yaml | awk '{ print $2 }')
|
||||||
|
|
||||||
withPush=$1
|
withPush=$1
|
||||||
|
@ -19,7 +21,8 @@ echo "Nom du build final: ${APPNAME}-${VERSION}+${BUILD}.apk"
|
||||||
|
|
||||||
flutter clean
|
flutter clean
|
||||||
if [[ $1 == "bundle" ]]; then
|
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
|
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 --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
|
flutter build apk --release --split-per-abi --build-name $VERSION --build-number $BUILD
|
||||||
|
|
Loading…
Reference in New Issue