forked from ParaState/frontier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add testnet 2021-07-15 spec file and release script
- Loading branch information
Showing
3 changed files
with
152 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | ||
|
||
cd $SCRIPT_DIR | ||
rm -rf release parastate-node.tar.gz | ||
mkdir release | ||
cp ../target/release/frontier-template-node release/parastate-node | ||
cp $(find ../target -name libssvm-evmc.so) release | ||
strip release/parastate-node | ||
strip release/libssvm-evmc.so | ||
|
||
cd release | ||
tar zcf parastate-node.tar.gz parastate-node libssvm-evmc.so | ||
echo SHA1: | ||
sha1sum parastate-node libssvm-evmc.so | sed -E 's/[0-9a-f]{40}/`\0`/' | ||
mv parastate-node.tar.gz $SCRIPT_DIR | ||
echo | ||
echo "Generated release tarball at $SCRIPT_DIR/parastate-node.tar.gz" | ||
rm -rf $SCRIPT_DIR/release |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.