Skip to content

Commit

Permalink
Add testnet 2021-07-15 spec file and release script
Browse files Browse the repository at this point in the history
  • Loading branch information
dm4 committed Jul 13, 2021
1 parent c26d90a commit 8b5b79a
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 0 deletions.
22 changes: 22 additions & 0 deletions scripts/release.sh
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
62 changes: 62 additions & 0 deletions specs/2021-07-15-spec-raw.json

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions specs/2021-07-15-spec.json

Large diffs are not rendered by default.

0 comments on commit 8b5b79a

Please sign in to comment.