Ethereum smart contract fuzzer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
echidna/.github/scripts/release-binary.sh

12 lines
354 B

TAG="$1"
OS="$(lsb_release -is)-$(lsb_release -rs)"
echo "Building binary..."
echo "Compressing binary.."
REPO="echidna"
BIN="$(stack path --local-install-root)/bin/$REPO"
echo $BIN
BUNDLE_NAME="$REPO-$TAG-$OS.tar.gz"
cp "$BIN" "./$REPO"
chmod +x "./$REPO"
env GZIP=-9 tar -czf "$BUNDLE_NAME" "$REPO"
shasum -a 256 "$BUNDLE_NAME" > "$BUNDLE_NAME.sha256"