This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/main by this push:
new e6becea25fb Align release artifact naming with ASF incubator
conventions
e6becea25fb is described below
commit e6becea25fb9cc0c348b9044b176a11510ab76e3
Author: Dianjin Wang <[email protected]>
AuthorDate: Tue Apr 21 18:19:14 2026 +0800
Align release artifact naming with ASF incubator conventions
Use base version (without -rcN suffix) for release tarball filename
to align with Apache incubator release conventions.
Changes:
- Modified TAR_NAME to use ${BASE_VERSION} instead of ${TAG}
- Tarball filename now follows pattern:
apache-cloudberry-${BASE_VERSION}-src.tar.gz
- Example: apache-cloudberry-2.0.0-incubating-src.tar.gz
(instead of apache-cloudberry-2.0.0-incubating-rc1-src.tar.gz)
Benefits:
- Enables direct 'svn mv' to release repository after voting without
renaming artifacts
- Aligns with Apache release best practices where RC identifiers are
used only for Git tags and voting process, not in final artifact names
- Eliminates need to regenerate .sha512 files during promotion
- Maintains consistency between tarball filename and extracted
directory name
- Simplifies release manager workflow
The extracted directory name remains unchanged:
apache-cloudberry-${BASE_VERSION}/
---
devops/release/cloudberry-release.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/devops/release/cloudberry-release.sh
b/devops/release/cloudberry-release.sh
index 3ab044d5aab..fdc4809f2f8 100755
--- a/devops/release/cloudberry-release.sh
+++ b/devops/release/cloudberry-release.sh
@@ -565,9 +565,10 @@ section "Staging release: $TAG"
# NOTE: For RC tags like "X.Y.Z-incubating-rcN", keep the tag as-is but
# generate the tarball name and top-level directory using BASE_VERSION
# (without "-rcN"). This allows promoting the voted bits without rebuilding.
- # Keep -rcN in the artifact filename for RC voting, but keep the extracted
- # top-level directory name as BASE_VERSION (without -rcN).
- TAR_NAME="apache-cloudberry-${TAG}-src.tar.gz"
+ # Use BASE_VERSION for both tarball filename and extracted directory name
+ # to align with Apache incubator release conventions. This enables direct
+ # 'svn mv' to release repository after voting without renaming artifacts.
+ TAR_NAME="apache-cloudberry-${BASE_VERSION}-src.tar.gz"
TMP_DIR=$(mktemp -d)
trap 'rm -rf "$TMP_DIR"' EXIT
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]