Skip to content

Add cloudberry-pxf ASF release script#68

Merged
tuhaihe merged 2 commits intoapache:mainfrom
tuhaihe:add-release-script
Mar 2, 2026
Merged

Add cloudberry-pxf ASF release script#68
tuhaihe merged 2 commits intoapache:mainfrom
tuhaihe:add-release-script

Conversation

@tuhaihe
Copy link
Member

@tuhaihe tuhaihe commented Feb 26, 2026

closes: #ISSUE_Number


Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist

Here are some reminders before you submit your pull request:

@tuhaihe tuhaihe marked this pull request as draft February 26, 2026 11:27
@tuhaihe
Copy link
Member Author

tuhaihe commented Feb 26, 2026

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.

@tuhaihe
Copy link
Member Author

tuhaihe commented Feb 27, 2026

[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

@tuhaihe tuhaihe marked this pull request as ready for review February 27, 2026 04:44
@tuhaihe tuhaihe requested a review from leborchuk February 27, 2026 07:22
@tuhaihe tuhaihe merged commit cb17cdd into apache:main Mar 2, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants