Do not update flathub repository if no release.

Fix #385
This commit is contained in:
Matthieu Gautier 2020-01-28 12:01:13 +01:00
parent b94cf5e0e1
commit b06d93b06d
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: