friendlier no-update
This commit is contained in:
@@ -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})"],
|
||||
|
||||
Reference in New Issue
Block a user