potiuk commented on code in PR #61727:
URL: https://github.com/apache/airflow/pull/61727#discussion_r2787934218


##########
dev/breeze/src/airflow_breeze/commands/release_candidate_command.py:
##########
@@ -550,23 +554,16 @@ def push_artifacts_to_asf_repo(version, task_sdk_version, 
repo_root):
         if not get_dry_run():
             os.chdir(base_dir)
 
-        if is_ci_environment():
-            console_print("[info]Running in CI environment - simulating SVN 
add and commit")
-            console_print(f"[info]Would run: svn add {version}/* 
task-sdk/{task_sdk_version}/*")
-            console_print(
-                f"[info]Would run: svn commit -m 'Add artifacts for Airflow 
{version} and Task SDK {task_sdk_version}'"
-            )
-        else:
-            run_command(f"svn add {version}/* task-sdk/{task_sdk_version}/*", 
check=True, shell=True)
-            run_command(
-                [
-                    "svn",
-                    "commit",
-                    "-m",
-                    f"Add artifacts for Airflow {version} and Task SDK 
{task_sdk_version}",
-                ],
-                check=True,
-            )
+        run_command(f"svn add {version}/* task-sdk/{task_sdk_version}/*", 
check=True, shell=True)

Review Comment:
   Since in CI we run in `--dry-run` mode, those commands are not executed 
there anyway.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to