mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-09-25 22:13:26 -04:00
Do not fail if there is nothing to commit of flathub repository.
This commit is contained in:
parent
af55ffed6d
commit
069aab9a35
@ -286,7 +286,11 @@ def update_flathub_git():
|
||||
call(command)
|
||||
command = ['git', 'commit', '-m',
|
||||
'Update to version {}'.format(main_project_versions['kiwix-desktop'])]
|
||||
call(command)
|
||||
try:
|
||||
call(command)
|
||||
except subprocess.CalledProcessError:
|
||||
# This may fail if there is nothing to commit (a rebuild of the CI for exemple)
|
||||
pass
|
||||
command = ['git', 'config', 'remote.origin.pushurl', FLATPAK_GIT_REMOTE]
|
||||
call(command)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user