Skip to content

Commit

Permalink
Fix path to artifacts for deploying RG (#8207)
Browse files Browse the repository at this point in the history
Tiny PR to make it easier to deploy RG contracts
  • Loading branch information
eelanagaraj authored Jul 7, 2021
1 parent 138c68a commit bdc1b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/scripts/bash/deploy_release_contracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ done
[ -z "$DEPLOYED_GRANTS" ] && echo 'No deployed grants file provided via -d flag: defaulting to `scripts/truffle/deployedGrants.json`' && DEPLOYED_GRANTS="scripts/truffle/deployedGrants.json"
[ -z "$OUTPUT_FILE" ] && echo "Need to set output file via the -o flag" && exit 1;

CONTRACT_ARTIFACTS_DIR="$PWD/build/$NETWORK"
CONTRACT_ARTIFACTS_DIR="$PWD/build"

if [[ ! -d "$CONTRACT_ARTIFACTS_DIR" ]]; then
echo "Error: no contract artifacts found in $CONTRACT_ARTIFACTS_DIR. Use download-artifacts to obtain them, or build them locally." >&2
Expand Down

0 comments on commit bdc1b1f

Please sign in to comment.