fix version code of apk

This commit is contained in:
Nitwel 2023-11-21 12:29:54 +01:00
parent 08fa67c2b7
commit 29ef779122
2 changed files with 4 additions and 2 deletions

View File

@ -62,7 +62,9 @@ jobs:
sed -i 's/singleInstancePerTask/singleTask/g' ./android/build/AndroidManifest.xml sed -i 's/singleInstancePerTask/singleTask/g' ./android/build/AndroidManifest.xml
sed -i 's/BUILD_VERSION/${{ github.ref_name }}/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
- name: export game - name: export game
id: export id: export

View File

@ -30,7 +30,7 @@ architectures/armeabi-v7a=false
architectures/arm64-v8a=true architectures/arm64-v8a=true
architectures/x86=false architectures/x86=false
architectures/x86_64=false architectures/x86_64=false
version/code=3 version/code=BUILD_VERSION_CODE
version/name="BUILD_VERSION" version/name="BUILD_VERSION"
package/unique_name="de.nitwel.$genname" package/unique_name="de.nitwel.$genname"
package/name="Immersive Home" package/name="Immersive Home"