Skip to content

Commit

Permalink
Update Airflow release docs (#26727)
Browse files Browse the repository at this point in the history
Just some things I ran across when releasing 2.4.1rc1.

(cherry picked from commit ca480fc)
  • Loading branch information
jedcunningham authored and ephraimbuddy committed Oct 18, 2022
1 parent 42176dc commit 79047c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dev/README_RELEASE_AIRFLOW.md
Original file line number Diff line number Diff line change
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

0 comments on commit 79047c5

Please sign in to comment.