Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Airflow release docs #26727

Merged
merged 1 commit into from Sep 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions dev/README_RELEASE_AIRFLOW.md
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down