Skip to content

Commit

Permalink
add apache
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcchen committed Jan 10, 2025
1 parent c717887 commit 0bba0df
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ venv
sdk_validator/venv
__pycache__
MODULE.*
apache_release
27 changes: 27 additions & 0 deletions apache_release/pack.sh
Original file line number Diff line number Diff line change
@@ -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



0 comments on commit 0bba0df

Please sign in to comment.