We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf45c15 commit 63ebafaCopy full SHA for 63ebafa
scripts/update-demo.py
@@ -61,6 +61,12 @@ def update_demo(
61
_checkout_demo_develop_or_existing_branch(demo_path=demo_path, branch=desired_branch_name)
62
last_update_commit: str = get_last_cruft_update_commit(demo_path=demo_path)
63
64
+ if template_commit == last_update_commit:
65
+ typer.secho(
66
+ f"{demo_name} is already up to date with {desired_branch_name} at {last_update_commit}",
67
+ fg=typer.colors.YELLOW
68
+ )
69
+
70
if not is_ancestor(last_update_commit, template_commit):
71
raise ValueError(
72
f"The last update commit '{last_update_commit}' is not an ancestor of the current commit "
0 commit comments