From 9a2a40ab1f553c396a84c4305344a56a034ce8ca Mon Sep 17 00:00:00 2001 From: Nitwel Date: Tue, 21 Nov 2023 12:34:08 +0100 Subject: [PATCH] update versions in manifest --- .github/workflows/build-prod.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-prod.yml b/.github/workflows/build-prod.yml index aab8713..0019dee 100644 --- a/.github/workflows/build-prod.yml +++ b/.github/workflows/build-prod.yml @@ -62,9 +62,12 @@ jobs: sed -i 's/singleInstancePerTask/singleTask/g' ./android/build/AndroidManifest.xml - sed -i 's/BUILD_VERSION/${{ github.ref_name }}/g' export_presets.cfg versioncode=$(eval "git tag | grep -v "test" | wc -l") sed -i "s/BUILD_VERSION_CODE/$versioncode/g" export_presets.cfg + sed -i "s/android:versionCode=\"1\"/android:versionCode=\"$versioncode\"/g" ./android/build/AndroidManifest.xml + + sed -i 's/BUILD_VERSION/${{ github.ref_name }}/g' export_presets.cfg + sed -i "s/android:versionName=\"1.0\"/android:versionName=\"${{ github.ref_name }}\"/g" ./android/build/AndroidManifest.xml - name: export game id: export