Revert script changes in injecting app details [skip ci]

This commit is contained in:
OmarHatem 2022-12-14 19:19:57 +02:00
parent 8a12683137
commit de37b25f92

View file

@ -6,6 +6,6 @@ if [ -z "$APP_ANDROID_TYPE" ]; then
fi
cd ../..
sed -i '' "1,/version:.*/s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/" ./pubspec.yaml
sed -i '' "1,/__APP_PACKAGE__/s/__APP_PACKAGE__/${APP_ANDROID_PACKAGE}/" ./android/app/src/main/AndroidManifest.xml
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