You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/04/28 18:51:34 UTC

[airflow] branch main updated: Update Airflow Release Doc (#23322)

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 2dfccfa82f Update Airflow Release Doc (#23322)
2dfccfa82f is described below

commit 2dfccfa82f602ab71db417bd9b45e86988ce29e4
Author: Ephraim Anierobi <sp...@gmail.com>
AuthorDate: Thu Apr 28 19:51:20 2022 +0100

    Update Airflow Release Doc (#23322)
    
    
    Co-authored-by: Kaxil Naik <ka...@gmail.com>
    Co-authored-by: Jed Cunningham <66...@users.noreply.github.com>
---
 dev/README_RELEASE_AIRFLOW.md | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index 37b6a686a7..cf5c4a10cf 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -199,11 +199,14 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
 
 - Check out the 'test' branch
 
+  For major/minor version release, please follow  the instructions at [Prepare new release branches and cache](#%5Coptional%5C-prepare-new-release-branches-and-cache) to create the 'test' and 'stable' branches.
+
     ```shell script
     git checkout v${VERSION_BRANCH}-test
     ```
 
-- Set your version to 2.0.N in `setup.py` (without the RC tag)
+- Set your version in `setup.py` (without the RC tag)
+- Add supported Airflow version to `./scripts/ci/pre_commit/pre_commit_supported_versions.py` and let pre-commit do the job
 - Replace the version in `README.md` and verify that installation instructions work fine.
 - Build the release notes:
 
@@ -259,6 +262,8 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
         -o dist/apache-airflow-${VERSION_WITHOUT_RC}-source.tar.gz
     ```
 
+    Copy the tarball to a location outside of the repo and verify licences.
+
 - Generate SHA512/ASC (If you have not generated a key yet, generate it by following instructions on http://www.apache.org/dev/openpgp.html#key-gen-generate-key)
 
     ```shell script
@@ -416,6 +421,7 @@ protected_branches:
    export BRANCH_PREFIX=2-1
    git checkout constraints-main
    git checkout -b constraints-${BRANCH_PREFIX}
+   git push --set-upstream origin constraints-${BRANCH_PREFIX}
    git push origin tag constraints-${BRANCH_PREFIX}
    ```
 
@@ -564,8 +570,6 @@ Copy the URL of the issue.
 
 ## Prepare Vote email on the Apache Airflow release candidate
 
-- Use the dev/airflow-jira script to generate a list of Airflow JIRAs that were closed in the release.
-
 - Send out a vote to the dev@airflow.apache.org mailing list:
 
 Subject:
@@ -583,8 +587,8 @@ cat <<EOF
 Hey fellow Airflowers,
 
 I have cut Airflow ${VERSION}. This email is calling a vote on the release,
-which will last for 72 hours, from Friday, October 8, 2021 at 4:00 pm UTC
-until Monday, October 11, 2021 at 4:00 pm UTC, or until 3 binding +1 votes have been received.
+which will last at least 72 hours, from Friday, October 8, 2021 at 4:00 pm UTC
+until Monday, October 11, 2021 at 4:00 pm UTC, and until 3 binding +1 votes have been received.
 
 https://www.timeanddate.com/worldclock/fixedtime.html?msg=8&iso=20211011T1600&p1=1440
 
@@ -1146,6 +1150,7 @@ EOF
 This includes:
 
 - Modify `./scripts/ci/pre_commit/pre_commit_supported_versions.py` and let pre-commit do the job
+- Update the `REVISION_HEADS_MAP` at airflow/utils/db.py to include the revision head of the release even if there are no migrations.
 - Sync `RELEASE_NOTES.rst` (including deleting relevant `newsfragments`) and `README.md` changes
 - Updating issue templates in `.github/ISSUE_TEMPLATE/` with the new version
 - Updating `Dockerfile` with the new version