Add cloudberry-pxf ASF release script#68
Merged
tuhaihe merged 2 commits intoapache:mainfrom Mar 2, 2026
Merged
Conversation
Member
Author
|
This file takes the cloudberry-release.sh in the main repo as a reference. Now it can work, but needs more improvement for a better experience. |
0227121 to
a922c8d
Compare
Member
Author
[gpadmin@cdw package]$ ./cloudberry-pxf-release.sh --stage --tag 2.1.0-incubating-rc1 --repo ~/cloudberry-pxf/ -k
INFO: GPG signing has been intentionally skipped (--skip-signing).
=================================================================
>> Platform and Tool Detection
=================================================================
Platform detected: Linux
[OK] SHA-512 tool: sha512sum
[OK] Tar tool: tar
- GPG tool: skipped (--skip-signing enabled)
[OK] XML tool: xmllint
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Validating Version Consistency
=================================================================
Version validation strategy:
Tag: 2.1.0-incubating-rc1
Base version (for source files): 2.1.0
Version consistency verified
Release Tag : 2.1.0-incubating-rc1
Base Version : 2.1.0
version file : 2.1.0
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Checking the state of the Tag
=================================================================
INFO: Tag '2.1.0-incubating-rc1' does not yet exist. It will be created during staging.
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Checking GIT_USER_NAME and GIT_USER_EMAIL values
=================================================================
Git User Info:
user.name : Your Name
user.email : your@apache.org
=================================================================
>> Staging release: 2.1.0-incubating-rc1
=================================================================
You are about to create tag '2.1.0-incubating-rc1'. Continue? [y/N] y
Tag Summary
2.1.0-incubating-rc1 (tag object): f5665ab4131bed85a6e4c769b4a72de468a8af17
Points to commit: 82d1415d7e6435a09e3f63981871c0a3de93bb70
82d1415d (HEAD -> update-2.1-version, tag: 2.1.0-incubating-rc1, origin/update-2.1-version)
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Creating Source Tarball
=================================================================
Archive saved to: apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Generating SHA-512 Checksum
=================================================================
Generating SHA-512 checksum
Checksum saved to: apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz.sha512
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Signing with GPG key:
=================================================================
INFO: Skipping tarball signing as requested (--skip-signing)
=================================================================
>> Moving Artifacts to /home/gpadmin/artifacts
=================================================================
Moving release artifacts to: /home/gpadmin/artifacts
renamed 'apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz' -> '/home/gpadmin/artifacts/apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz'
renamed 'apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz.sha512' -> '/home/gpadmin/artifacts/apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz.sha512'
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Verifying sha512 (/home/gpadmin/artifacts/apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz.sha512) Release Artifact
=================================================================
apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz: OK
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Verifying GPG Signature (/home/gpadmin/artifacts/apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz.asc) Release Artifact
=================================================================
INFO: Signature verification skipped (--skip-signing). Signature is only available when generated via this script.
Press Enter or type y/yes to continue, or 'n' to exit: y
=================================================================
>> Release candidate for 2.1.0-incubating-rc1 staged successfully
=================================================================[gpadmin@cdw ~]$ ls -l artifacts/
total 21668
-rw-r--r-- 1 gpadmin gpadmin 22180597 Feb 27 04:35 apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz
-rw-r--r-- 1 gpadmin gpadmin 184 Feb 27 04:36 apache-cloudberry-pxf-2.1.0-incubating-rc1-src.tar.gz.sha512 |
my-ship-it
approved these changes
Mar 2, 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.
closes: #ISSUE_Number
Change logs
Contributor's checklist
Here are some reminders before you submit your pull request: