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

ephraimanierobi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6ad479aa0f Update the release guide (#36863)
6ad479aa0f is described below

commit 6ad479aa0f1fdfcbf52e1359e33f9718de0279c2
Author: Ephraim Anierobi <splendidzig...@gmail.com>
AuthorDate: Thu Jan 18 17:16:15 2024 +0100

    Update the release guide (#36863)
    
    Some minor updates and including the link to what goes into a release
---
 dev/README_RELEASE_AIRFLOW.md                      |  4 ++++
 .../commands/release_candidate_command.py          | 28 +---------------------
 2 files changed, 5 insertions(+), 27 deletions(-)

diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index c2208de88e..16147f5ecb 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -308,6 +308,8 @@ The Release Candidate artifacts we vote upon should be the 
exact ones we vote ag
     git checkout main
     git pull # Ensure that the script is up-to-date
     breeze release-management start-rc-process --version ${VERSION} 
--previous-version <PREVIOUS_VERSION>
+    # Create issue for testing the RC
+    ./dev/prepare_release_issue.py generate-issue-content --previous-release 
<PREVIOUS_VERSION> --current-release ${VERSION}
     ```
 
 ## Prepare production Docker Image RC
@@ -393,6 +395,8 @@ the artifact checksums when we actually release.
 
 Release Notes: 
https://github.com/apache/airflow/blob/${VERSION}/RELEASE_NOTES.rst
 
+For information on what goes into a release please see: 
https://github.com/apache/airflow/blob/main/dev/WHAT_GOES_INTO_THE_NEXT_RELEASE.md
+
 Changes since PREVIOUS_VERSION_OR_RC:
 *Bugs*:
 [AIRFLOW-3732] Fix issue when trying to edit connection in RBAC UI
diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py 
b/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py
index 5408420a30..0b35b8821d 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py
@@ -285,31 +285,6 @@ def push_release_candidate_tag_to_github(version):
         console_print("[success]Release candidate tag pushed to GitHub")
 
 
-def create_issue_for_testing(version, previous_version, github_token):
-    if confirm_action("Do you want to create issue for testing? Only 
applicable for patch release"):
-        console_print()
-        console_print("Create issue in github for testing the release using 
this subject:")
-        console_print()
-        console_print(f"Status of testing of Apache Airflow {version}")
-        console_print()
-        if CI:
-            run_command(["git", "fetch"], check=True)
-        if confirm_action("Print the issue body?"):
-            run_command(
-                [
-                    "./dev/prepare_release_issue.py",
-                    "generate-issue-content",
-                    "--previous-release",
-                    f"{previous_version}",
-                    "--current-release",
-                    f"{version}",
-                    "--github-token",
-                    f"{github_token}",
-                ],
-                check=True,
-            )
-
-
 def remove_old_releases(version, repo_root):
     if confirm_action("In beta release we do not remove old RCs. Is this a 
beta release?"):
         return
@@ -422,7 +397,7 @@ def publish_release_candidate(version, previous_version, 
github_token):
     if confirm_action("Use docker to create artifacts?"):
         create_artifacts_with_docker()
     elif confirm_action("Use hatch to create artifacts?"):
-        create_artifacts_with_hatch()
+        create_artifacts_with_hatch(source_date_epoch)
     # Sign the release
     sign_the_release(airflow_repo_root)
     # Tag and push constraints
@@ -450,7 +425,6 @@ def publish_release_candidate(version, previous_version, 
github_token):
     push_release_candidate_tag_to_github(version)
     # Create issue for testing
     os.chdir(airflow_repo_root)
-    create_issue_for_testing(version, previous_version, github_token)
 
     console_print()
     console_print("Done!")

Reply via email to