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()
|
@cli.command()
|
||||||
@click.argument("target")
|
@click.argument("target")
|
||||||
|
@click.option("--manifest/--no-manifest", default=True)
|
||||||
def upload(target):
|
def upload(target):
|
||||||
if target not in TARGETS.keys():
|
if target not in TARGETS.keys():
|
||||||
fail(f"Unknown target: {target}")
|
fail(f"Unknown target: {target}")
|
||||||
@ -210,8 +211,9 @@ def upload(target):
|
|||||||
target = TARGETS[target]
|
target = TARGETS[target]
|
||||||
|
|
||||||
packageUpload(target)
|
packageUpload(target)
|
||||||
manifestUpdate()
|
if manifest:
|
||||||
uploadToS3("merged_installer_data.json", MANIFEST)
|
manifestUpdate()
|
||||||
|
uploadToS3("merged_installer_data.json", MANIFEST)
|
||||||
|
|
||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
|
Loading…
Reference in New Issue
Block a user