Skip to content

Colota - Android GPS Location tracker

Bump to v1.4.0-rc1, strip build IDs, auto-detect pre-releases

Max Dietrich70352276b27d
diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml
index 40a2c87b..4708d6f0 100644
--- a/.github/workflows/build-release.yml
+++ b/.github/workflows/build-release.yml
@@ -117,6 +117,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
draft: true
+ prerelease: ${{ contains(github.ref, '-') }}
files: |
apps/mobile/android/app/build/outputs/apk/gms/release/*.apk
apps/mobile/android/app/build/outputs/apk/foss/release/*.apk
diff --git a/apps/mobile/android/app/build.gradle b/apps/mobile/android/app/build.gradle
index a6d0bcd0..4a2f0265 100644
--- a/apps/mobile/android/app/build.gradle
+++ b/apps/mobile/android/app/build.gradle
@@ -94,8 +94,15 @@ android {
applicationId "com.Colota"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 25
- versionName "1.3.2"
+ versionCode 26
+ versionName "1.4.0-rc1"
+
+ // Strip Build IDs for reproducible builds (IzzyOnDroid/F-Droid)
+ externalNativeBuild {
+ cmake {
+ arguments "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--build-id=none"
+ }
+ }
// Expose build config to the module
buildConfigField "int", "MIN_SDK_VERSION", "${rootProject.ext.minSdkVersion}"