Do not fail if there is no file to publish.

This commit is contained in:
Matthieu Gautier 2020-07-15 17:42:32 +02:00
parent b9245b4b86
commit a3038253e8
1 changed files with 5 additions and 1 deletions

View File

@ -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)