builder: add option to make manifest update conditional
This commit is contained in:
parent
340844f960
commit
1711c0e46a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user