fix version code of apk
This commit is contained in:
parent
08fa67c2b7
commit
29ef779122
4
.github/workflows/build-prod.yml
vendored
4
.github/workflows/build-prod.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user