From b06d93b06d662987b839a9c7e2bdab9291e24a19 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 28 Jan 2020 12:01:13 +0100 Subject: [PATCH] Do not update flathub repository if no release. Fix #385 --- travis/compile_all.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis/compile_all.py b/travis/compile_all.py index f28e9e8..31dda69 100755 --- a/travis/compile_all.py +++ b/travis/compile_all.py @@ -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: