Skip to content

Commit 580fb85

Browse files
committed
fix: add step to ensure develop is checked out before updating the demo
1 parent 9986be0 commit 580fb85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/update-demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def update_demo(
2828
typer.secho(f"Updating demo project at {demo_path=}.", fg="yellow")
2929
with work_in(demo_path):
3030
require_clean_and_up_to_date_repo()
31+
git("checkout", "develop")
3132
cruft.update(
3233
project_dir=demo_path,
3334
template_path=REPO_FOLDER,

0 commit comments

Comments
 (0)