mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Fixes for pubspec.yaml generation
This commit is contained in:
parent
9381524d6c
commit
bef8db1e49
2 changed files with 8 additions and 2 deletions
|
@ -5,8 +5,6 @@ if [ -z "$APP_ANDROID_TYPE" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
sed -i "0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}" ./../../pubspec.yaml
|
||||
sed -i "0,/version:/{s/__APP_PACKAGE__/${APP_ANDROID_PACKAGE}/}" ./../../android/app/src/main/AndroidManifest.xml
|
||||
./app_icon.sh
|
||||
|
||||
CONFIG_ARGS=""
|
||||
|
@ -21,6 +19,12 @@ case $APP_ANDROID_TYPE in
|
|||
esac
|
||||
|
||||
cd ../..
|
||||
|
||||
cp -rf pubspec_description.yaml pubspec.yaml
|
||||
flutter pub get
|
||||
flutter pub run tool/generate_pubspec.dart
|
||||
flutter pub get
|
||||
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
||||
|
||||
sed -i "0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}" ./pubspec.yaml
|
||||
sed -i "0,/version:/{s/__APP_PACKAGE__/${APP_ANDROID_PACKAGE}/}" ./android/app/src/main/AndroidManifest.xml
|
|
@ -25,8 +25,10 @@ case $APP_IOS_TYPE in
|
|||
;;
|
||||
esac
|
||||
|
||||
cp -rf pubspec_description.yaml pubspec.yaml
|
||||
flutter pub get
|
||||
flutter pub run tool/generate_pubspec.dart
|
||||
flutter pub get
|
||||
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
||||
cd $DIR
|
||||
$DIR/app_icon.sh
|
||||
|
|
Loading…
Reference in a new issue