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

junchao pushed a commit to branch apache_release
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git

commit 0bba0dff8fc0a2d8ab7dd3a89a278a73a4c6ead8
Author: Ubuntu <[email protected]>
AuthorDate: Fri Jan 10 17:48:30 2025 +0000

    add apache
---
 .gitignore             |  1 -
 apache_release/pack.sh | 27 +++++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 2595903f..a7dc6f34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,3 @@ venv
 sdk_validator/venv
 __pycache__
 MODULE.*
-apache_release
diff --git a/apache_release/pack.sh b/apache_release/pack.sh
new file mode 100644
index 00000000..3523b3d3
--- /dev/null
+++ b/apache_release/pack.sh
@@ -0,0 +1,27 @@
+set -x
+
+TAG_NAME=master
+VERSION=v1.10.1
+PREFIX=apache-resilientdb-1.10.1-rc0-incubating
+PREFIX_FOLDER=apache-resilientdb-1.10.1-rc0/
+
+PACK_PATH=$PWD/packages
+
+cd ..
+git archive --format=tar ${TAG_NAME} --prefix=${PREFIX_FOLDER} | gzip > 
${PACK_PATH}/${PREFIX}-src.tar.gz
+
+cd ${PACK_PATH}
+gpg -u [email protected] --armor --output ${PREFIX}-src.tar.gz.asc 
--detach-sign ${PREFIX}-src.tar.gz
+
+#verify
+gpg --verify ${PREFIX}-src.tar.gz.asc ${PREFIX}-src.tar.gz
+
+#checksum
+shasum -a 512 ${PREFIX}-src.tar.gz > ${PREFIX}-src.tar.gz.sha512
+cat ${PREFIX}-src.tar.gz.sha512
+
+#check checksum
+shasum --check ${PREFIX}-src.tar.gz.sha512
+
+
+

Reply via email to