diff --git a/scripts/bundle.py b/scripts/bundle.py index bcf6a2a..ca7e2d5 100755 --- a/scripts/bundle.py +++ b/scripts/bundle.py @@ -229,6 +229,10 @@ def main() -> None: subprocess.run(["git", "add", "extensions"], check=True) + if not has_staged_changes(root): + print("No bundle changes.") + sys.exit(0) + date_str = datetime.now(timezone.utc).strftime("%Y-%m-%d") subprocess.run( ["git", "commit", "-m", f"bundle: update ({date_str})"],