Skip to content

Commit e6becea

Browse files
committed
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}/
1 parent c9100df commit e6becea

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

devops/release/cloudberry-release.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,9 +565,10 @@ section "Staging release: $TAG"
565565
# NOTE: For RC tags like "X.Y.Z-incubating-rcN", keep the tag as-is but
566566
# generate the tarball name and top-level directory using BASE_VERSION
567567
# (without "-rcN"). This allows promoting the voted bits without rebuilding.
568-
# Keep -rcN in the artifact filename for RC voting, but keep the extracted
569-
# top-level directory name as BASE_VERSION (without -rcN).
570-
TAR_NAME="apache-cloudberry-${TAG}-src.tar.gz"
568+
# Use BASE_VERSION for both tarball filename and extracted directory name
569+
# to align with Apache incubator release conventions. This enables direct
570+
# 'svn mv' to release repository after voting without renaming artifacts.
571+
TAR_NAME="apache-cloudberry-${BASE_VERSION}-src.tar.gz"
571572
TMP_DIR=$(mktemp -d)
572573
trap 'rm -rf "$TMP_DIR"' EXIT
573574

0 commit comments

Comments
 (0)