Skip to content

Commit

Permalink
fix: version string
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Dec 12, 2024
1 parent c37cf41 commit ced7b46
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion subgraphs/cross-chain-governance/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=($(jq -r '.version' package.json))

if [[ $string == *"testnet"* ]]; then
if [[ $version == *"testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:chapel --version-label $version
yarn deploy:sepolia --version-label $version
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/etherfi-promo/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=($(jq -r '.version' package.json))

if [[ $string == *"testnet"* ]]; then
if [[ $version == *"testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:sepolia --version-label $version
else
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=($(jq -r '.version' package.json))

if [[ $string == *"testnet"* ]]; then
if [[ $version == *"testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:chapel --version-label $version
yarn deploy:sepolia --version-label $version
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/protocol-reserve/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=($(jq -r '.version' package.json))

if [[ $string == *"testnet"* ]]; then
if [[ $version == *"-testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:chapel --version-label $version
yarn deploy:sepolia --version-label $version
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=($(jq -r '.version' package.json))

if [[ $string == *"testnet"* ]]; then
if [[ $version == *"testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:chapel --version-label $version
else
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=($(jq -r '.version' package.json))

if [[ $string == *"testnet"* ]]; then
if [[ $version == *"testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:chapel --version-label $version
else
Expand Down

0 comments on commit ced7b46

Please sign in to comment.