From 504a9b6efe6147c4e338445d296880136638178e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 2 Jan 2024 21:15:53 -0800 Subject: [PATCH] use our monotonic buildnr for the Android builds Signed-off-by: Dirk Hohndel --- .github/workflows/android.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 42bca2623..a5c3dc857 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -55,6 +55,8 @@ jobs: apt-get install --reinstall cpp-7 gcc-7-base libgcc-7-dev libcc1-0 gcc-7 git config --global --add safe.directory ${SUBSURFACE_REPO_PATH} git config --global --add safe.directory ${SUBSURFACE_REPO_PATH}/libdivecomputer + # get the build number via curl so this works both for a pull request as well as a push + curl -q https://raw.githubusercontent.com/subsurface/nightly-builds/main/latest-subsurface-buildnumber > buildnr.dat OUTPUT_DIR=$GITHUB_WORKSPACE bash -x ./subsurface/packaging/android/qmake-build.sh - name: create version number