friendlier no-update

This commit is contained in:
2026-01-17 22:04:59 -05:00
parent cf789ba0b8
commit 22a55924e3

View File

@@ -229,6 +229,10 @@ def main() -> None:
subprocess.run(["git", "add", "extensions"], check=True) 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") date_str = datetime.now(timezone.utc).strftime("%Y-%m-%d")
subprocess.run( subprocess.run(
["git", "commit", "-m", f"bundle: update ({date_str})"], ["git", "commit", "-m", f"bundle: update ({date_str})"],