From 1711c0e46ad6b1db37ea0e36855279fa3ff6e708 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 20 Jul 2023 08:34:26 -0700 Subject: [PATCH] builder: add option to make manifest update conditional --- builder.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/builder.py b/builder.py index 9ed3dd1..6a1206e 100755 --- a/builder.py +++ b/builder.py @@ -203,6 +203,7 @@ def package(target): @cli.command() @click.argument("target") +@click.option("--manifest/--no-manifest", default=True) def upload(target): if target not in TARGETS.keys(): fail(f"Unknown target: {target}") @@ -210,8 +211,9 @@ def upload(target): target = TARGETS[target] packageUpload(target) - manifestUpdate() - uploadToS3("merged_installer_data.json", MANIFEST) + if manifest: + manifestUpdate() + uploadToS3("merged_installer_data.json", MANIFEST) @cli.command()