Only create UWP archive if the app packages are signed.

This commit is contained in:
Josh Matthews 2020-04-17 11:34:25 -04:00
parent 699cf5b29b
commit 15751b13fd

View file

@ -827,6 +827,8 @@ def build_uwp(platforms, dev, msbuild_dir, ms_app_store):
subprocess.check_call([msbuild, "/m", build_file.name] + msbuild_args)
os.unlink(build_file.name)
# Don't bother creating an archive that contains unsigned app packages.
if not ms_app_store:
print("Creating ZIP")
out_dir = path.join(os.getcwd(), 'support', 'hololens', 'AppPackages', 'ServoApp')
name = 'ServoApp_%s_%sTest' % (version, 'Debug_' if dev else '')