From 13f3d27581270abcbbc17ba200ebc89c45ad3c37 Mon Sep 17 00:00:00 2001 From: Ephraim Anierobi Date: Mon, 20 Nov 2023 13:43:20 +0100 Subject: [PATCH] Update minor release command 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 0ccb9edb2594e..2fcbd621acf9a 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 )