This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 70e2f419e69987715b195a5fae7b3f73d10024f9
Author: Ephraim Anierobi <splendidzig...@gmail.com>
AuthorDate: Mon Nov 20 15:10:55 2023 +0100

    Update minor release command (#35751)
    
    When creating the constraints file for the new release, pull the 
constraints-main
    first
---
 dev/breeze/src/airflow_breeze/commands/minor_release_command.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev/breeze/src/airflow_breeze/commands/minor_release_command.py 
b/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
index 0ccb9edb25..2fcbd621ac 100644
--- a/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
@@ -138,6 +138,7 @@ def instruction_update_version_branch(version_branch):
 def create_constraints(version_branch):
     if confirm_action("Do you want to create branches from the constraints 
main?"):
         run_command(["git", "checkout", "constraints-main"], 
dry_run_override=DRY_RUN, check=True)
+        run_command(["git", "pull", "origin", "constraints-main"], 
dry_run_override=DRY_RUN, check=True)
         run_command(
             ["git", "checkout", "-b", f"constraints-{version_branch}"], 
dry_run_override=DRY_RUN, check=True
         )

Reply via email to