Add suffix to package name
".github" for CI builds ".local" by default
This commit is contained in:
@@ -58,7 +58,7 @@ jobs:
|
||||
sudo rm /usr/local/bin/cmake
|
||||
"${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager" --install "cmake;3.30.3"
|
||||
chmod +x gradlew
|
||||
./gradlew assemble${{ matrix.hmd }}${{ matrix.buildtype }}
|
||||
./gradlew -Psuffix=".github" assemble${{ matrix.hmd }}${{ matrix.buildtype }}
|
||||
|
||||
- name: Prepare before archiving artifacts
|
||||
run: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user