Skip to content

Commit 039f66d

Browse files
committed
chore: add some debug messaging
1 parent 5759c2b commit 039f66d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/update-demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def update_demo(
5050
demo_name: str = get_demo_name(add_rust_extension=add_rust_extension)
5151
demo_path: Path = demos_cache_folder / demo_name
5252

53+
typer.secho(f"template:\n\tcurrent_branch: {get_current_branch()}\n\tcurrent_commit: {get_current_commit()}")
5354
if branch_override is not None:
5455
typer.secho(f"Overriding current branch name for demo reference. Using '{branch_override}' instead.")
5556
desired_branch_name: str = branch_override
@@ -76,6 +77,7 @@ def update_demo(
7677

7778
typer.secho(f"Updating demo project at {demo_path=}.", fg="yellow")
7879
with work_in(demo_path):
80+
typer.secho(f"template:\n\tcurrent_branch: {get_current_branch()}\n\tcurrent_commit: {get_current_commit()}")
7981
if get_current_branch() != desired_branch_name:
8082
git("checkout", "-b", desired_branch_name, DEMO.develop_branch)
8183

0 commit comments

Comments
 (0)