Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Apr 10, 2024
1 parent 5b45ce5 commit 929a715
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function prepare {
function publish_0xgraph {
SUBGRAPH=$1
VERSION=$2
echo "publishing $SUBGRAPH to 0xgraph"
yarn run graph deploy $SUBGRAPH --node https://api.0xgraph.xyz/deploy --ipfs https://api.0xgraph.xyz/ipfs --version-label="v$VERSION"
}

Expand All @@ -34,9 +35,9 @@ function publish_goldsky {
}

function publish {
CHAIN=$1
PROVIDER=$2
VERSION=$3
VERSION=$1
CHAIN=$2
PROVIDER=$3
SUBGRAPH=beefyfinance/clm-$CHAIN
case $PROVIDER in
"0xgraph")
Expand Down Expand Up @@ -81,5 +82,5 @@ if [[ ! " ${valid_providers[@]} " =~ " ${provider} " ]]; then
fi

SUBGRAPH=beefyfinance/clm-$chain
prepare $chain
prepare $chain;
publish $version $chain $provider

0 comments on commit 929a715

Please sign in to comment.