gitlab-ci: use CVC for `fdroid build` job for more reliably runs

This commit is contained in:
Hans-Christoph Steiner 2021-04-08 16:06:32 +02:00
parent 40c77892a2
commit 7ed75abc2f
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
1 changed files with 2 additions and 1 deletions

View File

@ -340,7 +340,8 @@ fdroid build:
- fdroid build --verbose --latest org.fdroid.fdroid.privileged
# each `fdroid build --on-server` run expects sudo, then uninstalls it
- apt-get install sudo
- fdroid build --verbose --on-server --no-tarball --latest org.fdroid.fdroid
- currentVersionCode=`python3 -c "import yaml; print(yaml.load(open('metadata/org.fdroid.fdroid.yml'))['CurrentVersionCode'])"`
- fdroid build --verbose --on-server --no-tarball org.fdroid.fdroid:$currentVersionCode
# test the plugin API and specifically the fetchsrclibs plugin, which