This is an automated email from the ASF dual-hosted git repository.

ButterBright pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git


The following commit(s) were added to refs/heads/main by this push:
     new 711093275 fix: add dynamic checksum generation in release script 
(#1185)
711093275 is described below

commit 711093275beece3c84697d969d1fa20fc5b7d518
Author: Huang Youliang <[email protected]>
AuthorDate: Mon Jun 22 20:01:29 2026 +0800

    fix: add dynamic checksum generation in release script (#1185)
    
    Co-authored-by: Gao Hongtao <[email protected]>
---
 scripts/push-release.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/scripts/push-release.sh b/scripts/push-release.sh
index 4c41f32ec..5a789db04 100755
--- a/scripts/push-release.sh
+++ b/scripts/push-release.sh
@@ -47,6 +47,11 @@ cp ${PRODUCT_NAME}-*.tgz.sha512 
skywalking/banyandb/"$VERSION"
 cd skywalking/banyandb && svn add "$VERSION" && svn commit -m "Draft Apache 
SkyWalking BanyanDB release $VERSION"
 cd "$VERSION"
 
+CHECKSUMS=$(for CHECKSUM_FILE in "${PRODUCT_NAME}"-*.tgz.sha512; do
+  printf '   - '
+  cat "${CHECKSUM_FILE}"
+done)
+
 cat << EOF
 =========================================================================
 Subject: [VOTE] Release Apache SkyWalking BanyanDB version $VERSION
@@ -64,9 +69,7 @@ Release Candidate:
 
  * https://dist.apache.org/repos/dist/dev/skywalking/banyandb/$VERSION
  * sha512 checksums
-   - $(cat ${PRODUCT_NAME}-src.tgz.sha512)
-   - $(cat ${PRODUCT_NAME}-banyand.tgz.sha512)
-   - $(cat ${PRODUCT_NAME}-bydbctl.tgz.sha512)
+$CHECKSUMS
 
 Release Tag :
 

Reply via email to