Skip to content

Commit

Permalink
Minor updates to the release guides (apache#41100)
Browse files Browse the repository at this point in the history
* Minor updates to the release guides

* properly indent command
  • Loading branch information
ephraimbuddy authored Jul 31, 2024
1 parent 3a915ae commit 3905772
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev/README_RELEASE_AIRFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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)
7 changes: 5 additions & 2 deletions dev/README_RELEASE_PYTHON_CLIENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 3905772

Please sign in to comment.