This is an automated email from the ASF dual-hosted git repository.
potiuk 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 6bc05671db Fixups of small mistakes in release providers documentation
(#27773)
6bc05671db is described below
commit 6bc05671dbcfb38881681b656370d888e6300e26
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Nov 18 12:22:30 2022 +0100
Fixups of small mistakes in release providers documentation (#27773)
---
dev/README_RELEASE_PROVIDER_PACKAGES.md | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/dev/README_RELEASE_PROVIDER_PACKAGES.md
b/dev/README_RELEASE_PROVIDER_PACKAGES.md
index 970e7135ca..e484be18f8 100644
--- a/dev/README_RELEASE_PROVIDER_PACKAGES.md
+++ b/dev/README_RELEASE_PROVIDER_PACKAGES.md
@@ -750,7 +750,7 @@ cd "<ROOT_OF_YOUR_RELEASE_REPO>"
# Update to latest version
svn update --set-depth=infinity asf-dist/dev/airflow asf-dist/release/airflow
-SOURCE_DIR="${PWD}/dev/airflow/providers"
+SOURCE_DIR="${PWD}/asf-dist/dev/airflow/providers"
# Create providers folder if it does not exist
# All latest releases are kept in this one folder without version sub-folder
@@ -765,7 +765,7 @@ ls *<provider>*
svn rm *<provider>*
# Copy your providers with the target name to dist directory and to SVN
-rm "${AIRFLOW_REPO_ROOT}"/dist/*
+rm -rf "${AIRFLOW_REPO_ROOT}"/dist/*
for file in "${SOURCE_DIR}"/*
do
@@ -774,13 +774,11 @@ do
svn mv "${file}" "${base_file//rc[0-9]/}"
done
-# Check which old packages will be removed (you need python 3.7+)
-python ${AIRFLOW_REPO_ROOT}/dev/provider_packages/remove_old_releases.py \
- --directory .
+# Check which old packages will be removed (you need Python 3.7+ and
dev/requirements.txt installed)
+python ${AIRFLOW_REPO_ROOT}/dev/provider_packages/remove_old_releases.py
--directory .
# Remove those packages
-python ${AIRFLOW_REPO_ROOT}/dev/provider_packages/remove_old_releases.py \
- --directory . --execute
+python ${AIRFLOW_REPO_ROOT}/dev/provider_packages/remove_old_releases.py
--directory . --execute
# Commit to SVN