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/10/18 18:02:44 UTC
[airflow] 05/06: Update Airflow release docs (#26727)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 96915128107cbcbd5742c051f43f6416d8a44be2
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Tue Sep 27 14:54:00 2022 -0700
Update Airflow release docs (#26727)
Just some things I ran across when releasing 2.4.1rc1.
(cherry picked from commit ca480fc0e65ea92d3f5918c1b2047b9e12e36826)
---
dev/README_RELEASE_AIRFLOW.md | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index 5397cf5f28..16a09411ec 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -218,6 +218,7 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
```shell script
git checkout v${VERSION_BRANCH}-test
+ git reset --hard origin/v${VERSION_BRANCH}-test
```
- Set your version in `setup.py` (without the RC tag)
@@ -241,12 +242,14 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
```shell script
git checkout v${VERSION_BRANCH}-stable
+ git reset --hard origin/v${VERSION_BRANCH}-stable
```
- PR from the 'test' branch to the 'stable' branch, and manually merge it once approved. Here's how to manually merge the PR:
```shell script
git merge --ff-only v${VERSION_BRANCH}-test
+ git push origin v${VERSION_BRANCH}-stable
```
- Tag your release
@@ -276,7 +279,6 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
- Tarball the repo
```shell script
- mkdir dist
git archive --format=tar.gz ${VERSION} \
--prefix=apache-airflow-${VERSION_WITHOUT_RC}/ \
-o dist/apache-airflow-${VERSION_WITHOUT_RC}-source.tar.gz
@@ -307,7 +309,7 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
```shell script
git checkout origin/constraints-${VERSION_BRANCH}
git tag -s "constraints-${VERSION}" -m "Constraints for Apache Airflow ${VERSION}"
- git push origin "constraints-${VERSION}"
+ git push origin tag "constraints-${VERSION}"
```
- Push the artifacts to ASF dev dist repo
@@ -327,6 +329,8 @@ The Release Candidate artifacts we vote upon should be the exact ones we vote ag
cd ${VERSION}
svn add *
svn commit -m "Add artifacts for Airflow ${VERSION}"
+ cd ${AIRFLOW_REPO_ROOT}
+ rm -rf asf-dist
```
## Prepare new release branches and cache - optional when first minor version is released