Merge pull request #457 from kiwix/fix_no_file_to_publish
Do not fail if there is no file to publish.
This commit is contained in:
commit
045099f5f9
|
@ -272,7 +272,11 @@ def make_archive(project, make_release):
|
|||
# We don't know how to name the release.
|
||||
return None
|
||||
|
||||
base_dir, export_files = EXPORT_FILES[project]
|
||||
try:
|
||||
base_dir, export_files = EXPORT_FILES[project]
|
||||
except KeyError:
|
||||
# No binary files to export
|
||||
return None
|
||||
|
||||
if make_release:
|
||||
postfix = get_postfix(project)
|
||||
|
|
Loading…
Reference in New Issue