remove CurrentVersion* when older than oldest build entry

This causes F-Droid to never install this app, except for manually via the
Versions list in AppDetails.  I also wrote a lint test for this. This also
disables AutoUpdateMode because checkupdates readds the old version.

fdroid/fdroidserver!605

These were removed before and a bug in checkupdates readded them:
abd3f8411c

fdroid/fdroidserver@a5ec1703c9
This commit is contained in:
Hans-Christoph Steiner 2019-01-03 20:36:15 +01:00
parent 09217fbfee
commit 42bb872b46
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 13 additions and 9 deletions

View file

@ -29,7 +29,9 @@ Build:1.5.0,20
sed -i -e '/crashlytics/,+2d' -e '/fabric/d' build.gradle && \
sed -i -e '/Crashlytics/d' -e '/fabric/d' src/release/java/com/derek_s/hubble_gallery/base/HubbleApplicationRelease.java
Maintainer Notes:
UpdateCheckMode disabled because checkupdates sets it to an old version
.
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:1.2.5
Current Version Code:15
Update Check Mode:None

View file

@ -20,7 +20,9 @@ Build:0.6.0,6008
gradle=yes
prebuild=echo "android { lintOptions { checkReleaseBuilds false } }" >> build.gradle
Maintainer Notes:
UpdateCheckMode disabled because checkupdates sets it to an old version
.
Auto Update Mode:Version release-%v
Update Check Mode:Tags
Current Version:0.6.0
Current Version Code:600
Update Check Mode:None

View file

@ -98,7 +98,7 @@ Builds:
../ndkLibs/libs/release/armeabi-v7a/.
ndk: r18b
MaintainerNotes: UpdateCheckMode disabled because checkupdates sets it to an old version
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 3.0.10 (beta)
CurrentVersionCode: 85
UpdateCheckMode: None