Default versionCode based on a string, usually the tag
It is possible to generate the versionCode from a string if the one extracted with UpdateCheckData is not an integer. This solution can be useful to have autoupdate when versionCode are not stored in a file (usually calculated during the build process). Especially when the tag follows the semver versioning.
For instance, fenix-v115.2.1
is tag for firefox-android, the versionCode can be 115002001.
This commit does it : pigpig/fdroidserver@d8e5c4bf
I use this solution for firefox-android, molly-insider (alpha), element. And it can help many other project, like fennec or mull.
@licaon-kter have suggested to ping you, @relan and @IratePorcupine
Edited by S1m