the-other-tim-brown opened a new pull request, #1004:
URL: https://github.com/apache/incubator-xtable/pull/1004
### What
**Scripts**
- `create_source_release.sh`: sign with `SIGNING_KEY` (falls back to gpg's
default key) instead of a hardcoded fingerprint; fail early with a clear
message if `RC_NUM` isn't exported.
- `deploy_staging_jars.sh`: check for the repo root by `release/scripts`
(there is no `packaging/` dir, so the script always exited); pass
`-Dgpg.keyname=$SIGNING_KEY` when set.
- `validate_staged_bundles.sh`: check every deployed artifact: the parent
and `xtable-hudi-support` poms; jar, sources, javadoc and pom for the 9 jar
modules; `-tests` for core; and `-bundled` for aws, hive-metastore and
hudi-support-extensions. Each is checked with .asc/.md5/.sha1. It now reports
every missing file before failing, and no longer writes to `/tmp`.
- `cut_release_branch.sh`: tell the RM to push the next-version branch
before the optional clean-up deletes the clone.
- `pom.xml`: drop the stale
`<project.version>0.2.0-SNAPSHOT</project.version>` property (raised on the
0.4.0 vote). `${project.version}` still resolves to `0.5.0-SNAPSHOT`.
**Guide**
- One-time setup: export `SIGNING_KEY`, append to KEYS in both dist/dev and
dist/release (the old snippet used an undefined `${name}`), add the fingerprint
at id.apache.org, publish to keyserver.ubuntu.com and keys.openpgp.org
(pgp.mit.edu is unreliable).
- Deploy step uses `deploy_staging_jars.sh`, which disables the build cache
(otherwise "duplicated artifacts attached").
- Vote: split into the dev@ PPMC vote and the general@ IPMC vote, with
templates. The dev@ template now has the commit SHA, the sha512, the svn
revision, the staging repo, the build JDK, and a note that the
`xtable-utilities` jar isn't a release artifact.
- Finalize: wait for both votes; remove the previous release from
dist/release and clean RCs out of dist/dev.
- Announce template: describe XTable (it described Hudi), link the downloads
page, add the incubator disclaimer.
- Fixed the broken script links and step references.
### Verification
- `validate_staged_bundles.sh releases 0.4.0-incubating`: every artifact is
found except `xtable-iceberg-pluggable-tf`, which is new since 0.4.0 (#894).
- `create_source_release.sh` without `RC_NUM` exits with the new message
before touching anything.
- `deploy_staging_jars.sh -h` from the repo root now gets past the directory
check.
- `bash -n` on all scripts; `./mvnw validate` and `help:evaluate
project.version` → `0.5.0-SNAPSHOT`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]