mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Do not fail if there is no file to publish.
This commit is contained in:
6
.github/scripts/common.py
vendored
6
.github/scripts/common.py
vendored
@ -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)
|
||||
|
Reference in New Issue
Block a user