Impress Remote: Adapt update check to find current version 2.6.0

This commit is contained in:
Michael Weghorn 2023-01-18 09:18:27 +00:00 committed by Licaon_Kter
parent d87eea179c
commit 902307bc2b

View file

@ -92,15 +92,24 @@ Builds:
- pebble - pebble
prebuild: sed -r -i '/full(Implementation|Wear)/d' build.gradle prebuild: sed -r -i '/full(Implementation|Wear)/d' build.gradle
MaintainerNotes: |- - versionName: 2.6.0
UCM mistakenly gets the version code from versionCode: 28
android/sdremote/wear/build.gradle (Wear OS app), commit: b2a14020f7390f37e3e939e01250929a8001fa58
which is greater by 1 than the version code in subdir: android/sdremote/mobile
android/sdremote/mobile/build.gradle (Android app). gradle:
- minimal
rm:
- android/sdremote/wear
- firefoxos
- ios
- pebble
prebuild: sed -r -i '/full(Implementation|Wear)/d' build.gradle
MaintainerNotes: UpdateCheckData below is needed for update check to find versions
from 2.6.0 on.
AutoUpdateMode: Version AutoUpdateMode: Version
UpdateCheckMode: Tags UpdateCheckMode: Tags
VercodeOperation: UpdateCheckData: android/sdremote/mobile/build.gradle|\sversionCode\s+(\d+)|android/sdremote/build.gradle|\sversionName\s+\'(.+)\'
- '%c - 1' CurrentVersion: 2.6.0
CurrentVersion: 2.5.2 CurrentVersionCode: 28
CurrentVersionCode: 26