diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-04-17 11:34:25 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-04-17 11:34:25 -0400 |
commit | 15751b13fd773af3d891fbbead9ee011cb03eb02 (patch) | |
tree | 51b085714371b663e607a0ff1d9a1378b4eb0dea /python/servo/package_commands.py | |
parent | 699cf5b29b4501d05834f67a7a724d9a49e166ba (diff) | |
download | servo-15751b13fd773af3d891fbbead9ee011cb03eb02.tar.gz servo-15751b13fd773af3d891fbbead9ee011cb03eb02.zip |
Only create UWP archive if the app packages are signed.
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r-- | python/servo/package_commands.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index 85b2a32b37c..5f27a6a6391 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -827,10 +827,12 @@ 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) - print("Creating ZIP") - out_dir = path.join(os.getcwd(), 'support', 'hololens', 'AppPackages', 'ServoApp') - name = 'ServoApp_%s_%sTest' % (version, 'Debug_' if dev else '') - artifacts_dir = path.join(out_dir, name) - zip_path = path.join(out_dir, "FirefoxReality.zip") - archive_deterministically(artifacts_dir, zip_path, prepend_path='servo/') - print("Packaged Servo into " + zip_path) + # 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 '') + artifacts_dir = path.join(out_dir, name) + zip_path = path.join(out_dir, "FirefoxReality.zip") + archive_deterministically(artifacts_dir, zip_path, prepend_path='servo/') + print("Packaged Servo into " + zip_path) |