Skip to content

Add cloudberry-go-libs-release.sh for Apache release staging - #24

Merged
tuhaihe merged 1 commit into
apache:mainfrom
tuhaihe:add_release-go-libs
Jul 15, 2026
Merged

Add cloudberry-go-libs-release.sh for Apache release staging#24
tuhaihe merged 1 commit into
apache:mainfrom
tuhaihe:add_release-go-libs

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Jul 14, 2026

Copy link
Copy Markdown
Member

Add cloudberry-go-libs-release.sh, a release staging script adapted from cloudberry-backup-release.sh. All project references have been updated from "cloudberry-backup" to "cloudberry-go-libs", including the script name, tarball prefix (apache-cloudberry-go-libs-*), Git tag message, and upstream remote URL (git@github.com:apache/cloudberry-go-libs.git).

Key differences from the original script:

  • Version is always derived from the Git tag. The VERSION file dependency has been removed — no VERSION file is needed.
  • Project root detection uses go.mod instead of a VERSION file, matching the conventions of a Go module project.

All other release logic (tool detection, tag validation, GPG signing, SHA-512 checksum, macOS extended attribute cleanup, submodule archiving, and artifact verification) is preserved verbatim.

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:

Add cloudberry-go-libs-release.sh, a release staging script adapted from
cloudberry-backup-release.sh.  All project references have been updated
from "cloudberry-backup" to "cloudberry-go-libs", including the script
name, tarball prefix (apache-cloudberry-go-libs-*), Git tag message,
and upstream remote URL (git@github.com:apache/cloudberry-go-libs.git).

Key differences from the original script:

  - Version is always derived from the Git tag.  The VERSION file
    dependency has been removed — no VERSION file is needed.
  - Project root detection uses go.mod instead of a VERSION file,
    matching the conventions of a Go module project.

All other release logic (tool detection, tag validation, GPG signing,
SHA-512 checksum, macOS extended attribute cleanup, submodule
archiving, and artifact verification) is preserved verbatim.
@tuhaihe

tuhaihe commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

Test the script on my local machine and it works.

@tuhaihe
tuhaihe requested a review from leborchuk July 14, 2026 08:37

@leborchuk leborchuk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, read script, check interface and descriptions - all looks good and clear

@tuhaihe
tuhaihe merged commit ae774cb into apache:main Jul 15, 2026
4 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