Skip to content

Commit 5759c2b

Browse files
committed
Revert "fix: replace check against commit hash to instead check against HEAD in update-demo workflow"
This reverts commit 33ad187.
1 parent 215cefb commit 5759c2b

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
@@ -68,7 +68,7 @@ def update_demo(
6868
fg=typer.colors.YELLOW
6969
)
7070

71-
if not is_ancestor(last_update_commit, "HEAD"):
71+
if not is_ancestor(last_update_commit, template_commit):
7272
raise ValueError(
7373
f"The last update commit '{last_update_commit}' is not an ancestor of the current commit "
7474
f"'{template_commit}'."

0 commit comments

Comments
 (0)