mirror of
https://github.com/servo/servo.git
synced 2025-07-30 18:50:36 +01:00
Only create UWP archive if the app packages are signed.
This commit is contained in:
parent
699cf5b29b
commit
15751b13fd
1 changed files with 9 additions and 7 deletions
|
@ -827,10 +827,12 @@ def build_uwp(platforms, dev, msbuild_dir, ms_app_store):
|
||||||
subprocess.check_call([msbuild, "/m", build_file.name] + msbuild_args)
|
subprocess.check_call([msbuild, "/m", build_file.name] + msbuild_args)
|
||||||
os.unlink(build_file.name)
|
os.unlink(build_file.name)
|
||||||
|
|
||||||
print("Creating ZIP")
|
# Don't bother creating an archive that contains unsigned app packages.
|
||||||
out_dir = path.join(os.getcwd(), 'support', 'hololens', 'AppPackages', 'ServoApp')
|
if not ms_app_store:
|
||||||
name = 'ServoApp_%s_%sTest' % (version, 'Debug_' if dev else '')
|
print("Creating ZIP")
|
||||||
artifacts_dir = path.join(out_dir, name)
|
out_dir = path.join(os.getcwd(), 'support', 'hololens', 'AppPackages', 'ServoApp')
|
||||||
zip_path = path.join(out_dir, "FirefoxReality.zip")
|
name = 'ServoApp_%s_%sTest' % (version, 'Debug_' if dev else '')
|
||||||
archive_deterministically(artifacts_dir, zip_path, prepend_path='servo/')
|
artifacts_dir = path.join(out_dir, name)
|
||||||
print("Packaged Servo into " + zip_path)
|
zip_path = path.join(out_dir, "FirefoxReality.zip")
|
||||||
|
archive_deterministically(artifacts_dir, zip_path, prepend_path='servo/')
|
||||||
|
print("Packaged Servo into " + zip_path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue