This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git


The following commit(s) were added to refs/heads/main by this push:
     new b5711436 Align release artifact naming with Apache incubator 
conventions
b5711436 is described below

commit b5711436acf3aca8d87585792536908ed8832635
Author: Dianjin Wang <[email protected]>
AuthorDate: Sat Apr 11 19:59:56 2026 +0800

    Align release artifact naming with Apache incubator conventions
    
    Update cloudberry-pxf-release.sh to generate artifact filenames
    without RC suffix (e.g., apache-cloudberry-pxf-2.1.0-incubating-src.tar.gz)
    while keeping RC identifier in directory names only.
    
    Benefits:
    - Simplifies promotion process after vote passes
    - No need to rename files for checksums/signatures
    - Consistent with best practices from other ASF Incubator projects
    - Files are ready for final release from RC stage, can use `svn mv` to
      promote the RC artifacts to the final version.
    
    Example structure:
      dev/incubator/cloudberry/2.1.0-incubating-rc1/
        apache-cloudberry-pxf-2.1.0-incubating-src.tar.gz
---
 package/cloudberry-pxf-release.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/cloudberry-pxf-release.sh 
b/package/cloudberry-pxf-release.sh
index 2bab1134..eddd6c94 100755
--- a/package/cloudberry-pxf-release.sh
+++ b/package/cloudberry-pxf-release.sh
@@ -510,7 +510,7 @@ section "Staging release: $TAG"
 
   section "Creating Source Tarball"
 
-  TAR_NAME="apache-cloudberry-pxf-${TAG}-src.tar.gz"
+  TAR_NAME="apache-cloudberry-pxf-${VERSION_FILE}-incubating-src.tar.gz"
   TMP_DIR=$(mktemp -d)
   trap 'rm -rf "$TMP_DIR"' EXIT
 
@@ -518,8 +518,8 @@ section "Staging release: $TAG"
   export COPYFILE_DISABLE=1
   export COPY_EXTENDED_ATTRIBUTES_DISABLE=1
 
-  # Keep -rcN in the artifact filename for RC voting, but keep the extracted
-  # top-level directory name as the main version with -incubating (without 
-rcN).
+  # 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-pxf-${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]

Reply via email to