You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2021/12/22 15:39:00 UTC
[airflow] branch main updated: Update the "releasing Airflow" docs (#20456)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham 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 81f92d6 Update the "releasing Airflow" docs (#20456)
81f92d6 is described below
commit 81f92d6c321992905d239bb9e8556720218fe745
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Wed Dec 22 08:38:27 2021 -0700
Update the "releasing Airflow" docs (#20456)
---
dev/README_RELEASE_AIRFLOW.md | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index f10306b..aa5d738 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -295,7 +295,7 @@ protected_branches:
export BRANCH_PREFIX=2-1
git checkout constraints-main
git checkout -b constraints-${BRANCH_PREFIX}
- git push origin constraints-${BRANCH_PREFIX}
+ git push origin tag constraints-${BRANCH_PREFIX}
```
## Prepare PyPI convenience "snapshot" packages
@@ -352,7 +352,7 @@ is not supposed to be used by and advertised to the end-users who do not read th
(both airflow and latest provider packages).
```shell script
- git push origin ${VERSION}
+ git push origin tag ${VERSION}
```
## Prepare production Docker Image
@@ -721,8 +721,8 @@ The best way of doing this is to svn cp between the two repos (this avoids havin
```shell script
# GO to Airflow Sources first
-cd <YOUR_AIRFLOW_SOURCES>
-export AIRFLOW_SOURCES=$(pwd)
+cd <YOUR_AIRFLOW_REPO_ROOT>
+export AIRFLOW_REPO_ROOT=$(pwd)
# GO to Checked out DEV repo. Should be checked out before via:
# svn checkout https://dist.apache.org/repos/dist/dev/airflow airflow-dev
@@ -761,8 +761,7 @@ Verify that the packages appear in [airflow](https://dist.apache.org/repos/dist/
## Prepare PyPI "release" packages
-At this point we release an official package (they should be copied and renamed from the
-previously released RC candidates in "${AIRFLOW_SOURCES}/dist":
+At this point we release an official package:
- Verify the artifacts that would be uploaded:
@@ -794,7 +793,7 @@ previously released RC candidates in "${AIRFLOW_SOURCES}/dist":
cd "${AIRFLOW_REPO_ROOT}"
git checkout constraints-${RC}
git tag -s "constraints-${VERSION}" -m "Constraints for Apache Airflow ${VERSION}"
- git push origin "constraints-${VERSION}"
+ git push origin tag "constraints-${VERSION}"
```
- Push Tag for the final version
@@ -806,7 +805,7 @@ previously released RC candidates in "${AIRFLOW_SOURCES}/dist":
```shell script
git checkout ${RC}
git tag -s ${VERSION} -m "Apache Airflow ${VERSION}"
- git push origin ${VERSION}
+ git push origin tag ${VERSION}
```
## Manually prepare production Docker Image
@@ -891,8 +890,7 @@ We also made this version available on PyPI for convenience:
\`pip install apache-airflow\`
https://pypi.org/project/apache-airflow/${VERSION}/
-The documentation is available on:
-https://airflow.apache.org/
+The documentation is available at:
https://airflow.apache.org/docs/apache-airflow/${VERSION}/
Find the CHANGELOG here for more details:
@@ -968,6 +966,8 @@ Update the values of `airflowVersion`, `defaultAirflowTag` and `appVersion` in t
will use the latest released version. You'll need to update `chart/values.yaml`, `chart/values.schema.json` and
`chart/Chart.yaml`.
+Also add a note to `UPDATING.rst` that the default version of Airflow has changed.
+
## Update airflow/config_templates/config.yml file
File `airflow/config_templates/config.yml` contains documentation on all configuration options available in Airflow. The `version_added` fields must be updated when a new Airflow version is released.