Config for android app.

This commit is contained in:
M 2022-01-04 18:55:11 +02:00
parent 328b378aac
commit 8fa1fe1b04
3 changed files with 11 additions and 3 deletions

8
scripts/android/app_config.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
if [ -z "$APP_ANDROID_TYPE" ]; then
echo "Please set APP_ANDROID_TYPE"
exit 1
fi
sed -i '0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}' ./../../pubspec.yaml