This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git
The following commit(s) were added to refs/heads/main by this push:
new 06d18a8c [Release] Support binary releasing of Paimon WebUI (#529)
06d18a8c is described below
commit 06d18a8cd776fba5c71bcb4ddf9fb44ba8a6bc9c
Author: Nicholas Jiang <[email protected]>
AuthorDate: Wed Aug 14 12:05:26 2024 +0800
[Release] Support binary releasing of Paimon WebUI (#529)
---
.../{create_source_release.sh => create_release_package.sh} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tools/releasing/create_source_release.sh
b/tools/releasing/create_release_package.sh
similarity index 86%
rename from tools/releasing/create_source_release.sh
rename to tools/releasing/create_release_package.sh
index 798c6472..03a0aa24 100755
--- a/tools/releasing/create_source_release.sh
+++ b/tools/releasing/create_release_package.sh
@@ -63,7 +63,7 @@ mkdir ${RELEASE_DIR}
# delete the temporary release directory on error
trap 'rm -rf ${RELEASE_DIR}' ERR
-echo "Creating source package"
+echo "Creating release package"
# create a temporary git clone to ensure that we have a pristine source release
git clone ${PROJECT_ROOT} ${CLONE_DIR}
@@ -77,13 +77,16 @@ rsync -a \
--exclude ".travis.yml" \
. paimon-webui-${RELEASE_VERSION}
+tar czf ${RELEASE_DIR}/apache-paimon-webui-${RELEASE_VERSION}-bin.tgz
paimon-webui-${RELEASE_VERSION}
tar czf ${RELEASE_DIR}/apache-paimon-webui-${RELEASE_VERSION}-src.tgz
paimon-webui-${RELEASE_VERSION}
+gpg --armor --detach-sig
${RELEASE_DIR}/apache-paimon-webui-${RELEASE_VERSION}-bin.tgz
gpg --armor --detach-sig
${RELEASE_DIR}/apache-paimon-webui-${RELEASE_VERSION}-src.tgz
cd ${RELEASE_DIR}
+${SHASUM} apache-paimon-webui-${RELEASE_VERSION}-bin.tgz >
apache-paimon-webui-${RELEASE_VERSION}-bin.tgz.sha512
${SHASUM} apache-paimon-webui-${RELEASE_VERSION}-src.tgz >
apache-paimon-webui-${RELEASE_VERSION}-src.tgz.sha512
rm -rf ${CLONE_DIR}
-echo "Done. Source release package and signatures created under
${RELEASE_DIR}/."
+echo "Done. Release package and signatures created under ${RELEASE_DIR}/."
cd ${CURR_DIR}