mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 20:49:28 +00:00
11 lines
No EOL
359 B
Bash
Executable file
11 lines
No EOL
359 B
Bash
Executable file
#!/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 |