mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
chore: Add dry run git push check before version bump
This commit is contained in:
parent
4527714094
commit
34334ad8b8
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ def main():
|
||||||
check_branch()
|
check_branch()
|
||||||
check_working_directory_clean()
|
check_working_directory_clean()
|
||||||
check_main_branch_up_to_date()
|
check_main_branch_up_to_date()
|
||||||
|
# do a `git push --dry-run origin` check before proceeding. ai!
|
||||||
|
|
||||||
new_version_str = args.new_version
|
new_version_str = args.new_version
|
||||||
if not re.match(r"^\d+\.\d+\.\d+$", new_version_str):
|
if not re.match(r"^\d+\.\d+\.\d+$", new_version_str):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue