Add suffix to package name

".github" for CI builds
".local" by default
This commit is contained in:
Patrick Nicolas
2024-10-08 17:59:05 +02:00
parent 60108e287e
commit aa91c978d5
3 changed files with 9 additions and 4 deletions
+3 -1
View File
@@ -232,8 +232,10 @@ jobs:
VERSION=$(git describe --tags)
if [ ${{ matrix.buildtype }} = 'Oculus' ]
then
SUFFIX=""
VERSION_CODE=$(git rev-list --count HEAD)
else
SUFFIX=".github"
VERSION_CODE=1
fi
@@ -243,7 +245,7 @@ jobs:
echo Setting version $VERSION and version code $VERSION_CODE in manifest
chmod +x gradlew
./gradlew -Pwivrn_version=$VERSION -Pwivrn_versionCode=$VERSION_CODE assemble${{ matrix.hmd }}${{ matrix.buildtype }}
./gradlew -Pwivrn_version=$VERSION -Pwivrn_versionCode=$VERSION_CODE -Psuffix=$SUFFIX assemble${{ matrix.hmd }}${{ matrix.buildtype }}
- name: Prepare before archiving artifacts
run: |