From 0afe38e6263c1c3fce77da8b07ad3ec036f9cc63 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Tue, 21 Nov 2023 02:51:19 +0100 Subject: [PATCH] auto update version on prod build --- .github/workflows/build-prod.yml | 2 ++ export_presets_prod.cfg | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-prod.yml b/.github/workflows/build-prod.yml index 1bc165d..ced0f5d 100644 --- a/.github/workflows/build-prod.yml +++ b/.github/workflows/build-prod.yml @@ -62,6 +62,8 @@ jobs: sed -i 's/singleInstancePerTask/singleTask/g' ./android/build/AndroidManifest.xml + sed -i 's/BUILD_VERSION/${{ github.ref_name }}/g' ./android/build/AndroidManifest.xml + - name: export game id: export # Use latest version (see releases for all versions) diff --git a/export_presets_prod.cfg b/export_presets_prod.cfg index 2518add..9ba8701 100644 --- a/export_presets_prod.cfg +++ b/export_presets_prod.cfg @@ -31,7 +31,7 @@ architectures/arm64-v8a=true architectures/x86=false architectures/x86_64=false version/code=3 -version/name="v0.1.2" +version/name="BUILD_VERSION" package/unique_name="de.nitwel.$genname" package/name="Immersive Home" package/signed=true