This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-1.1
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.1 by this push:
new f9bc1514f8 [#9400]improvement(release): Add copying and signing for
Gravitino Lance REST server binary distribution (#9422)
f9bc1514f8 is described below
commit f9bc1514f865ca8553598043652fbc399ab96143
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 9 16:56:22 2025 +0800
[#9400]improvement(release): Add copying and signing for Gravitino Lance
REST server binary distribution (#9422)
### What changes were proposed in this pull request?
This pull request adds support for packaging and signing the Gravitino
Lance REST server binary distribution in the release build script. This
ensures that the Lance REST server binary is properly copied, signed,
and its checksum is generated alongside other distributions.
Distribution packaging and signing:
* Updated `dev/release/release-build.sh` to copy the
`gravitino-lance-rest-server-$GRAVITINO_VERSION-bin.tar.gz` file, sign
it with GPG, and generate its SHA-512 checksum, similar to the existing
process for other distributions.
### Why are the changes needed?
We are going to release the Lance REST service in 1.1.0 release
Fix: #9400
### Does this PR introduce _any_ user-facing change?
N/A.
### How was this patch tested?
Test locally.
Co-authored-by: Mini Yu <[email protected]>
---
dev/release/release-build.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh
index 72e1e6e84d..5bd14b90eb 100755
--- a/dev/release/release-build.sh
+++ b/dev/release/release-build.sh
@@ -247,6 +247,13 @@ if [[ "$1" == "package" ]]; then
--detach-sig gravitino-iceberg-rest-server-$GRAVITINO_VERSION-bin.tar.gz
shasum -a 512 gravitino-iceberg-rest-server-$GRAVITINO_VERSION-bin.tar.gz
> gravitino-iceberg-rest-server-$GRAVITINO_VERSION-bin.tar.gz.sha512
+ echo "Copying and signing Gravitino Lance REST server binary distribution"
+ cp
gravitino-$GRAVITINO_VERSION-bin/distribution/gravitino-lance-rest-server-$GRAVITINO_VERSION-bin.tar.gz
.
+ echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --armour \
+ --output gravitino-lance-rest-server-$GRAVITINO_VERSION-bin.tar.gz.asc \
+ --detach-sig gravitino-lance-rest-server-$GRAVITINO_VERSION-bin.tar.gz
+ shasum -a 512 gravitino-lance-rest-server-$GRAVITINO_VERSION-bin.tar.gz >
gravitino-lance-rest-server-$GRAVITINO_VERSION-bin.tar.gz.sha512
+
echo "Copying and signing Gravitino Trino connector binary distribution"
cp
gravitino-$GRAVITINO_VERSION-bin/distribution/gravitino-trino-connector-$GRAVITINO_VERSION.tar.gz
.
echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --armour \
@@ -270,7 +277,7 @@ if [[ "$1" == "package" ]]; then
error 'The environment variable PYPI_API_TOKEN is not set. Exiting.'
fi
- echo "Uploading Gravitino Python package $RC_RC_PYGRAVITINO_VERSION to
PyPi"
+ echo "Uploading Gravitino Python package $RC_PYGRAVITINO_VERSION to PyPi"
twine upload -u __token__ -p $PYPI_API_TOKEN \
--repository-url https://upload.pypi.org/legacy/ \
"apache_gravitino-$RC_PYGRAVITINO_VERSION.tar.gz"