Skip to content

Commit 37f51a1

Browse files
committed
fix build number
1 parent d30ed69 commit 37f51a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Build
5252
run: |
5353
echo "${{ secrets.ANDROID_KEYSTORE }}" | base64 --decode > android/keystore
54-
export BUILD_NUMBER="${{ github.run_number }}"
54+
export BUILD_NUMBER=$(( ${{ github.run_number }} + 2100002252 ))
5555
export GOOGLE_MAPS_CLIENT_ID="${{ secrets.GOOGLE_MAPS_CLIENT_ID }}"
5656
export GOOGLE_MAPS_SIGNING_SECRET="${{ secrets.GOOGLE_MAPS_SIGNING_SECRET }}"
5757
./build.sh appbundle

android/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ android {
3737
// For more information, see: https://flutter.dev/to/review-gradle-config.
3838
minSdk = flutter.minSdkVersion // Android 5.0+
3939
targetSdk = 36 // Android 16
40-
versionCode = 2100002252
40+
versionCode = flutter.versionCode
4141
versionName = flutter.versionName
4242
}
4343

0 commit comments

Comments
 (0)