Skip to content

Commit f5aebbe

Browse files
committed
fix: ensure that pushing a new branch for the first time works
1 parent 0ff3bcd commit f5aebbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def update_demo(
5656
)
5757
git("add", ".")
5858
git("commit", "-m", f"chore: {last_update_commit} -> {current_commit}", "--no-verify")
59-
git("push")
59+
git("push", "-u", "origin", current_branch)
6060

6161
except Exception as error:
6262
typer.secho(f"error: {error}", fg="red")

0 commit comments

Comments
 (0)