Fix version_code conflict for nightly and release

This commit is contained in:
Patrick Nicolas
2024-12-05 22:52:07 +01:00
parent 34b41c1e98
commit b3beb1ac2d
+5 -1
View File
@@ -228,7 +228,11 @@ jobs:
if [ ${{ matrix.buildtype }} = 'Oculus' ]
then
SUFFIX=""
VERSION_CODE=$(git rev-list --count HEAD)
VERSION_CODE=$(( 2 * $(git rev-list --count HEAD) ))
if [ ${{ github.ref_type }} = 'tag' ]
then
VERSION_CODE=$(( $VERSION_CODE + 1 ))
fi
CSS=images/wivrn-release.css
APPNAME=WiVRn