Merge pull request #404 from kiwix/flathub_update

Do not update flathub repository if no release.
This commit is contained in:
Matthieu Gautier 2020-01-28 15:47:30 +01:00 committed by GitHub
commit f8dae7e972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -493,7 +493,9 @@ elif PLATFORM == 'armhf_static':
make_archive('kiwix-tools', 'linux-armhf')
elif PLATFORM == 'i586_static':
make_archive('kiwix-tools', 'linux-i586')
elif make_release and PLATFORM == 'flatpak':
elif ( make_release
and PLATFORM == 'flatpak'
and release_versions.get('kiwix-desktop') is not None):
update_flathub_git()
elif PLATFORM == 'android' and 'kiwix-lib-app' in TARGETS:
if make_release and release_versions.get('kiwix-lib') is not None: