Fix creation of win nightly archive.

The new name of the platform is "win-i686", not anymore "win32".
This commit is contained in:
Matthieu Gautier 2018-04-23 15:07:44 +02:00
parent 09135cffcb
commit 25a14e44e7
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ def make_archive(project, platform):
archive_name = "{}_{}-{}".format(project, platform, postfix)
if platform == "win32":
if platform == "win-i686":
file_to_archives = ['{}.exe'.format(f) for f in file_to_archives]
open_archive = lambda a : zipfile.ZipFile(str(a), 'w', compression=zipfile.ZIP_LZMA)
archive_add = lambda a, f : a.write(str(base_bin_dir/f), arcname=str(f))