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,6 +211,7 @@ def upload(target):
|
|||||||
target = TARGETS[target]
|
target = TARGETS[target]
|
||||||
|
|
||||||
packageUpload(target)
|
packageUpload(target)
|
||||||
|
if manifest:
|
||||||
manifestUpdate()
|
manifestUpdate()
|
||||||
uploadToS3("merged_installer_data.json", MANIFEST)
|
uploadToS3("merged_installer_data.json", MANIFEST)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user