Skip to content

Commit

Permalink
fix: relock in prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Dec 17, 2024
1 parent 063a865 commit be1c170
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion subgraphs/cross-chain-governance/.releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./prepare.sh",
"successCmd": "./deploy.sh"
}
]
Expand Down
2 changes: 2 additions & 0 deletions subgraphs/cross-chain-governance/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

yarn

if [[ $version == *"testnet"* ]]; then
yarn graph auth --studio $TESTNET_GRAPH_CLI_API_KEY
yarn deploy:chapel --version-label $version
Expand Down
7 changes: 0 additions & 7 deletions subgraphs/cross-chain-governance/prepare.sh

This file was deleted.

2 changes: 2 additions & 0 deletions subgraphs/etherfi-promo/prepare.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

git pull

yarn lock
1 change: 1 addition & 0 deletions subgraphs/isolated-pools/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ cd ../..

git pull

yarn lock
yarn
1 change: 1 addition & 0 deletions subgraphs/protocol-reserve/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ cd ../..

git pull

yarn lock
yarn
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/prepare.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd ../..

git pull

yarn
YARN_ENABLE_IMMUTABLE_INSTALLS=true yarn
1 change: 1 addition & 0 deletions subgraphs/venus/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ cd ../..

git pull

yarn lock
yarn

0 comments on commit be1c170

Please sign in to comment.