diff --git a/canary.py b/canary.py index 09ac5c2..7732e82 100644 --- a/canary.py +++ b/canary.py @@ -60,15 +60,13 @@ def write_version_file(filename: str, updated_content: list[str], dry_run: bool) def git_operations(new_version: str, dry_run: bool) -> None: if dry_run: print("Dry run: Would execute the following git commands:") - print("- git commit -am '[canary] Update VERSION and examples/VERSION'") + print("- git commit -am '[canary] Update VERSION'") print(f"- git tag {new_version}") print("- git push") print(f"- git push origin {new_version}") else: - print("Executing: git commit -am 'Update VERSION and examples/VERSION'") - subprocess.run( - ["git", "commit", "-am", "[canary] Update VERSION and examples/VERSION"], check=True - ) + print("Executing: git commit -am 'Update VERSION'") + subprocess.run(["git", "commit", "-am", "[canary] Update VERSION"], check=True) print(f"Executing: git tag {new_version}") subprocess.run(["git", "tag", new_version], check=True)