mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
Update build scripts for android
This commit is contained in:
parent
da170118a8
commit
26f6be0ce6
3 changed files with 35 additions and 22 deletions
11
scripts/android/inject_app_details.sh
Executable file
11
scripts/android/inject_app_details.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -z "$APP_ANDROID_TYPE" ]; then
|
||||
echo "Please set APP_ANDROID_TYPE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd ../..
|
||||
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
|
||||
cd scripts/android
|
Loading…
Add table
Add a link
Reference in a new issue