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-backup.git
The following commit(s) were added to refs/heads/main by this push:
new 996ef68a Align release artifact naming with Apache incubator
conventions
996ef68a is described below
commit 996ef68aa6b5116665e2da93e54dc92ae382ebcf
Author: Dianjin Wang <[email protected]>
AuthorDate: Mon Apr 20 11:15:21 2026 +0800
Align release artifact naming with Apache 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 ${VERSION_FILE} instead of ${TAG}
- Tarball filename now follows pattern:
apache-cloudberry-backup-${VERSION_FILE}-incubating-src.tar.gz
- Example: apache-cloudberry-backup-2.0.0-incubating-src.tar.gz
(instead of apache-cloudberry-backup-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
- Maintains consistency between tarball filename and extracted
directory name
The extracted directory name remains unchanged:
apache-cloudberry-backup-${VERSION_FILE}-incubating/
---
cloudberry-backup-release.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cloudberry-backup-release.sh b/cloudberry-backup-release.sh
index a15697db..6cf277b9 100755
--- a/cloudberry-backup-release.sh
+++ b/cloudberry-backup-release.sh
@@ -510,7 +510,7 @@ section "Staging release: $TAG"
section "Creating Source Tarball"
- TAR_NAME="apache-cloudberry-backup-${TAG}-src.tar.gz"
+ TAR_NAME="apache-cloudberry-backup-${VERSION_FILE}-incubating-src.tar.gz"
TMP_DIR=$(mktemp -d)
trap 'rm -rf "$TMP_DIR"' EXIT
@@ -518,6 +518,9 @@ section "Staging release: $TAG"
export COPYFILE_DISABLE=1
export COPY_EXTENDED_ATTRIBUTES_DISABLE=1
+ # Use base version (without -rcN) for both tarball filename and extracted
directory name.
+ # This allows direct svn mv to release repository after voting without
renaming.
+
git archive --format=tar
--prefix="apache-cloudberry-backup-${VERSION_FILE}-incubating/" "$TAG" | tar -x
-C "$TMP_DIR"
# Archive submodules if any
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]