This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi 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 3905772b31 Minor updates to the release guides (#41100)
3905772b31 is described below
commit 3905772b3154d52550965b540faf354d1db556fd
Author: Ephraim Anierobi <[email protected]>
AuthorDate: Wed Jul 31 09:01:29 2024 +0100
Minor updates to the release guides (#41100)
* Minor updates to the release guides
* properly indent command
---
dev/README_RELEASE_AIRFLOW.md | 6 +++---
dev/README_RELEASE_PYTHON_CLIENT.md | 7 +++++--
dev/breeze/src/airflow_breeze/commands/minor_release_command.py | 2 +-
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index ad80d3c6f5..19d2bcec04 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -317,7 +317,7 @@ The Release Candidate artifacts we vote upon should be the
exact ones we vote ag
```shell script
cat <<EOF
- Status of testing of Apache Airflow {VERSION}
+ Status of testing of Apache Airflow ${VERSION}
EOF
```
@@ -1095,5 +1095,5 @@ According to the policy above, if we have to release
clients:
- Follow the specific release process for each API client:
- - [Python
client](https://github.com/apache/airflow-client-python/blob/master/dev/README_RELEASE_CLIENT.md)
- - [Go
client](https://github.com/apache/airflow-client-go/blob/master/dev/README_RELEASE_CLIENT.md)
+ - [Python
client](https://github.com/apache/airflow/blob/main/dev/README_RELEASE_PYTHON_CLIENT.md)
+ - [Go
client](https://github.com/apache/airflow-client-go/blob/main/dev/README_RELEASE_CLIENT.md)
diff --git a/dev/README_RELEASE_PYTHON_CLIENT.md
b/dev/README_RELEASE_PYTHON_CLIENT.md
index 40199cc8c9..c631dddb3f 100644
--- a/dev/README_RELEASE_PYTHON_CLIENT.md
+++ b/dev/README_RELEASE_PYTHON_CLIENT.md
@@ -531,6 +531,9 @@ Cheers,
## Publish release to SVN
```shell script
+# Go to Airflow sources first
+cd <YOUR_AIRFLOW_REPO_ROOT>
+export AIRFLOW_REPO_ROOT="$(pwd)"
# Go to Airflow python client sources first
cd <YOUR_AIRFLOW_CLIENT_REPO_ROOT>
export CLIENT_REPO_ROOT="$(pwd)"
@@ -561,10 +564,10 @@ done
# Remove old release
cd ..
svn rm ${PREVIOUS_VERSION}
-svn commit -m "Release Apache Airflow Python Client ${VERSION} from ${RC}"
+svn commit -m "Release Apache Airflow Python Client ${VERSION} from
${VERSION}${VERSION_SUFFIX}"
```
-Verify that the packages appear in
[airflow](https://downloads.apache.org/airflow/clients/python/)
+Verify that the packages appear in
[airflow](https://dist.apache.org/repos/dist/release/airflow/clients/python)
## Prepare PyPI "release" packages
diff --git a/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
b/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
index f0ccd81f67..50ffc35817 100644
--- a/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
@@ -69,7 +69,7 @@ def commit_changes(version_branch):
if DRY_RUN:
console_print("Skipping below command on CI")
run_command(
- ["git", "commit", "-m", f"Update default branches for
{version_branch}"],
+ ["git", "commit", "-m", f"Update default branches for
{version_branch}", "--no-verify"],
dry_run_override=DRY_RUN,
check=True,
)