From 1ae9b4b8fe001d3538052cef8219ff99d1dfc0ec Mon Sep 17 00:00:00 2001 From: Geoffrey Hayes Date: Wed, 3 Apr 2024 15:51:03 -0700 Subject: [PATCH] Sleuth Release This is the v0.0.1 release of Sleuth, which adds official support for revert messages. --- .github/workflows/prepare-release.yml | 4 ++-- script/prepare-release.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 44f27c4..09cdbc9 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -34,8 +34,8 @@ jobs: - name: Prepare Release run: | - export RPC_URL=$(echo $deployer_config | jq ".$network.rpc_url") - export CODE_JAR=$(echo $deployer_config | jq ".$network.code_jar") + export RPC_URL=$(echo $deployer_config | jq -r ".$network.rpc_url") + export CODE_JAR=$(echo $deployer_config | jq -r ".$network.code_jar") script/prepare-release.sh env: deployer_config: ${{ secrets.deployer_config }} diff --git a/script/prepare-release.sh b/script/prepare-release.sh index dce979e..f5a5da4 100755 --- a/script/prepare-release.sh +++ b/script/prepare-release.sh @@ -34,7 +34,7 @@ if [ -z "$body" ]; then exit 1 fi -sleuth_address="$(forge script --rpc-url="$RPC_URL" --json --silent script/Sleuth.s.sol:Prepare | tee | jq -r '.returns."0".value')" +sleuth_address="$(forge script --rpc-url=$RPC_URL --json --silent script/Sleuth.s.sol:Prepare | tee | jq -r '.returns."0".value')" echo "title=$title" echo "body=$body"