From 0fd36de4a3bad629ec237a46492bf2ddb25f183f Mon Sep 17 00:00:00 2001 From: Armand <4831c0@proton.me> Date: Sun, 12 Oct 2025 15:50:53 +0200 Subject: [PATCH] Increment base build number Since we rebased the commit count is smaller --- Jenkinsfile | 2 +- tools/linux/build_apk.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 89114cd..a1181f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -98,7 +98,7 @@ pipeline { # Calculate version code based on git commits (same logic as build script) COMMIT_COUNT=$(git rev-list --count HEAD) - BASE_BUILD_NUMBER=$((1000 + COMMIT_COUNT)) + BASE_BUILD_NUMBER=$((1300 + COMMIT_COUNT)) if [ "$BRANCH_NAME" = "main" ]; then # For main branch, highest version code is BASE + 3000 (x64 build) diff --git a/tools/linux/build_apk.sh b/tools/linux/build_apk.sh index 9ed21fb..8984fef 100755 --- a/tools/linux/build_apk.sh +++ b/tools/linux/build_apk.sh @@ -3,7 +3,7 @@ cd firka set -e SHORT_SHA=$(git rev-parse --short HEAD) COMMIT_COUNT=$(git rev-list --count HEAD) -BASE_BUILD_NUMBER=$((1000 + COMMIT_COUNT)) +BASE_BUILD_NUMBER=$((1300 + COMMIT_COUNT)) ORIGINAL_VERSION=$(grep "^version:" pubspec.yaml | sed 's/version: *//' | sed 's/+.*//') update_version_for_abi() {