You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "tuhaihe (via GitHub)" <gi...@apache.org> on 2026/10/12 10:07:24 UTC
[PR] Release: check the pom.xml version against the release tag [cloudberry-backup]
tuhaihe opened a new pull request, #122:
URL: https://github.com/apache/cloudberry-backup/pull/122
The release script checked the VERSION file against the tag but never compared it with the `<version>` in pom.xml, which ships in the source tarball. The go-libs and pxf 2.2.0-incubating-rc2 tarballs went out with pom.xml still at 2.1.0-incubating because their scripts had the same gap; this one was right only because pom.xml had been bumped by hand.
Read the project version with xmllint, which the script already requires, and stop unless it is `<base version>-incubating`.
Assisted-by: Claude Code
<!--Thank you for contributing! -->
<!--In case of an existing issue or discussions, please reference it-->
closes: #ISSUE_Number
<!--Remove this section if no corresponding issue.-->
---
## 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:
* Make sure that your Pull Request has a clear title and commit message. You can take the [Git commit template](https://github.com/apache/cloudberry/blob/main/.gitmessage) as a reference.
* Learn the [code contribution](https://cloudberry.apache.org/contribute/code) and [doc contribution](https://cloudberry.apache.org/contribute/doc) guides for better collaboration.
* Make sure that CICD workflow is successful.
* List your communications in the [GitHub Issues](https://github.com/apache/cloudberry-backup/issues) or [Discussions](https://github.com/apache/cloudberry/discussions) (if has or needed).
* Feel free to ask for the [cloudberry committers](https://github.com/orgs/apache/teams/cloudberry-committers) or other people to help review and approve.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
Re: [PR] Release: check the pom.xml version against the release tag [cloudberry-backup]
Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on PR #122:
URL: https://github.com/apache/cloudberry-backup/pull/122#issuecomment-6122175813
verified:
```bash
[gpadmin@cdw cloudberry-backup]$ ./cloudberry-backup-release.sh --stage --tag 2.2.0-incubating-rc3 -S -k --repo ~/cloudberry-backup/
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.2.0-incubating-rc3
Base version (for source files): 2.2.0
Version consistency verified
Release Tag : 2.2.0-incubating-rc3
Base Version : 2.2.0
VERSION file : 2.2.0
pom.xml : 2.2.0-incubating
Press Enter or type y/yes to continue, or 'n' to exit: y
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
Re: [PR] Release: check the pom.xml version against the release tag [cloudberry-backup]
Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe merged PR #122:
URL: https://github.com/apache/cloudberry-backup/pull/122
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org