Skip to content

Commit d1e939f

Browse files
committed
fix: update key used to find commit info in cruft json
1 parent b2f748b commit d1e939f

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
@@ -152,7 +152,7 @@ def _create_demo_pr(demo_path: Path, branch: str, commit_start: str) -> None:
152152
def _get_demo_feature_pr_body(demo_path: Path, commit_start: str) -> str:
153153
"""Creates the body of the demo feature pull request."""
154154
cruft_config: dict[str, Any] = _read_cruft_file(demo_path)
155-
commit_end: Optional[str] = cruft_config.get("commit_end", None)
155+
commit_end: Optional[str] = cruft_config.get("commit", None)
156156
if commit_end is None:
157157
raise ValueError(f"Unable to find latest commit in .cruft.json for demo at {demo_path}.")
158158
rev_range: str = f"{commit_start}..{commit_end}"

0 commit comments

Comments
 (0)