Align release artifact naming with ASF incubator conventions#1689
Merged
tuhaihe merged 1 commit intoapache:mainfrom Apr 21, 2026
Merged
Align release artifact naming with ASF incubator conventions#1689tuhaihe merged 1 commit intoapache:mainfrom
tuhaihe merged 1 commit intoapache:mainfrom
Conversation
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}/
leborchuk
approved these changes
Apr 21, 2026
Contributor
leborchuk
left a comment
There was a problem hiding this comment.
Yes, we extract BASE_VERSION from TAG by removing -rc suffix, lets use it in artifact name
BASE_VERSION="$TAG"
if [[ "$TAG" =~ ^(.+)-rc[0-9]+$ ]]; then
BASE_VERSION="${BASH_REMATCH[1]}"
fi
reshke
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use base version (without -rcN suffix) for release tarball filename to align with Apache incubator release conventions.
Changes:
Benefits:
The extracted directory name remains unchanged:
apache-cloudberry-${BASE_VERSION}/
Fixes #ISSUE_Number
What does this PR do?
Type of Change
Breaking Changes
Test Plan
make installcheckmake -C src/test installcheck-cbdb-parallelImpact
Performance:
User-facing changes:
Dependencies:
Checklist
Additional Context
CI Skip Instructions