Use git tag in UpdateCheckData

This commit is contained in:
Jochen Sprickerhof 2021-06-09 08:39:24 +02:00 committed by Jochen Sprickerhof
parent 1218e3fbe7
commit 415eb3cb70
4 changed files with 14 additions and 16 deletions

View file

@ -452,13 +452,11 @@ Builds:
- appLoginUsername="LOGIN"
- appLoginPassword="PASS"
MaintainerNotes: |-
Version code and name are dynamically generated from the Git tag.
MaintainerNotes: The Gradle properties are added to avoid a Gradle error but they
are only used in test builds.
The Gradle properties are added to avoid a Gradle error but they are only used in test builds.
AutoUpdateMode: Version v%c
UpdateCheckMode: HTTP
UpdateCheckData: https://www.amine-bou.fr/version.txt|versionCode=(.*)|.|versionName=(.*)
AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: '|v(\d+)||v(\d+)'
CurrentVersion: 1721030811-github
CurrentVersionCode: 1721030811

View file

@ -373,8 +373,8 @@ Builds:
- tmp/flutter/bin/flutter build apk -t lib/env/fdroid.dart --flavor fdroid --release
ndk: r21d
AutoUpdateMode: Version fdroid-v%v
UpdateCheckMode: HTTP
UpdateCheckData: https://data.authpass.app/data/fdroid-version.txt|versionCode=(.*)|.|versionName=(.*)
AutoUpdateMode: Version
UpdateCheckMode: Tags ^fdroid-v[0-9.]+$
UpdateCheckData: authpass/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 1.7.11
CurrentVersionCode: 150

View file

@ -4248,9 +4248,8 @@ Builds:
prebuild: sed -i -e '/keystoreProperties/d' build.gradle
ndk: r21e
AutoUpdateMode: Version %v
UpdateCheckMode: HTTP
UpdateCheckData: https://raw.githubusercontent.com/M66B/FairEmail/master/app/build.gradle|return
(\d+)|https://github.com/M66B/FairEmail/releases/latest|tree/([\d.]+)
AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: app/build.gradle|getVersionCode.*return (\d+)||
CurrentVersion: '1.1608'
CurrentVersionCode: 1609

View file

@ -33,7 +33,8 @@ Builds:
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: RepoManifest
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[0-9.]*$
UpdateCheckData: app/build.gradle|versionCode\s(\d+)||
CurrentVersion: Polonium
CurrentVersionCode: 8