chore: Add dry run git push check before version bump

This commit is contained in:
Paul Gauthier 2025-03-04 13:24:18 -08:00 committed by Paul Gauthier (aider)
parent 4527714094
commit 34334ad8b8

View file

@ -76,6 +76,7 @@ def main():
check_branch()
check_working_directory_clean()
check_main_branch_up_to_date()
# do a `git push --dry-run origin` check before proceeding. ai!
new_version_str = args.new_version
if not re.match(r"^\d+\.\d+\.\d+$", new_version_str):