Fix version_code conflict for nightly and release
This commit is contained in:
@@ -228,7 +228,11 @@ jobs:
|
|||||||
if [ ${{ matrix.buildtype }} = 'Oculus' ]
|
if [ ${{ matrix.buildtype }} = 'Oculus' ]
|
||||||
then
|
then
|
||||||
SUFFIX=""
|
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
|
CSS=images/wivrn-release.css
|
||||||
APPNAME=WiVRn
|
APPNAME=WiVRn
|
||||||
|
|||||||
Reference in New Issue
Block a user