This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 7fa6f493dfe [v3-1-test] Add empty version suffix when preparing
distributions by PMC members (#61352) (#61386)
7fa6f493dfe is described below
commit 7fa6f493dfe66c873f011bdc3dcb8eb8581df67b
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Feb 18 21:31:34 2026 +0100
[v3-1-test] Add empty version suffix when preparing distributions by PMC
members (#61352) (#61386)
If VERSION_SUFFIX is exported in the current terminal, it can be
accidentally used as `--version-suffix` by distribution preparation
commands - which in case of the PMC verification might cause preparing
of `PyPI` variants of the distributions, not the `SVN` ones (without
RC suffix). This PR updates the relevant commands to override the
suffix with empty suffix - which also is an explicit signal that
this is intended.
(cherry picked from commit 9a38e8c5e3d880b2eba27d62905109723d13b07c)
Co-authored-by: Jarek Potiuk <[email protected]>
---
dev/README_RELEASE_AIRFLOW.md | 8 ++++----
dev/README_RELEASE_AIRFLOWCTL.md | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index c1dd7e2155d..c3b84a6ce8d 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -642,8 +642,8 @@ git fetch apache --tags
git checkout ${VERSION_RC}
export AIRFLOW_REPO_ROOT=$(pwd)
rm -rf dist/*
-breeze release-management prepare-airflow-distributions --distribution-format
both
-breeze release-management prepare-task-sdk-distributions --distribution-format
both
+breeze release-management prepare-airflow-distributions --distribution-format
both --version-suffix ""
+breeze release-management prepare-task-sdk-distributions --distribution-format
both --version-suffix ""
breeze release-management prepare-tarball --tarball-type apache_airflow
--version ${VERSION} --version-suffix ${VERSION_SUFFIX}
```
@@ -652,8 +652,8 @@ will be done in a docker container. However, if you have
`hatch` installed loc
`--use-local-hatch` flag and it will build and use docker image that has
`hatch` installed.
```bash
-breeze release-management prepare-airflow-distributions --distribution-format
both --use-local-hatch
-breeze release-management prepare-task-sdk-distributions --distribution-format
both --use-local-hatch
+breeze release-management prepare-airflow-distributions --distribution-format
both --use-local-hatch --version-suffix ""
+breeze release-management prepare-task-sdk-distributions --distribution-format
both --use-local-hatch --version-suffix ""
breeze release-management prepare-tarball --tarball-type apache_airflow
--version ${VERSION} --version-suffix ${VERSION_SUFFIX}
```
diff --git a/dev/README_RELEASE_AIRFLOWCTL.md b/dev/README_RELEASE_AIRFLOWCTL.md
index 73aa2b6f2bb..89b696a949b 100644
--- a/dev/README_RELEASE_AIRFLOWCTL.md
+++ b/dev/README_RELEASE_AIRFLOWCTL.md
@@ -506,7 +506,7 @@ rm -rf dist/*
4) Build the packages using checked out sources
```shell
-breeze release-management prepare-airflow-ctl-distributions
--distribution-format both
+breeze release-management prepare-airflow-ctl-distributions
--distribution-format both --version-suffix ""
breeze release-management prepare-tarball --tarball-type apache_airflow_ctl
--version "${VERSION}" --version-suffix "${VERSION_SUFFIX}"
```