From ab4722371a0b7b684a680484c328e939233b55c1 Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Tue, 17 Dec 2024 14:44:06 -0300 Subject: [PATCH] fix: relock in prepare script --- subgraphs/cross-chain-governance/.releaserc | 1 - subgraphs/cross-chain-governance/prepare.sh | 7 ------- subgraphs/etherfi-promo/prepare.sh | 2 ++ subgraphs/isolated-pools/prepare.sh | 1 + subgraphs/protocol-reserve/prepare.sh | 1 + subgraphs/venus-governance/prepare.sh | 2 +- subgraphs/venus/prepare.sh | 1 + 7 files changed, 6 insertions(+), 9 deletions(-) delete mode 100755 subgraphs/cross-chain-governance/prepare.sh mode change 100755 => 100644 subgraphs/venus-governance/prepare.sh diff --git a/subgraphs/cross-chain-governance/.releaserc b/subgraphs/cross-chain-governance/.releaserc index aa486939..15ecf9f9 100644 --- a/subgraphs/cross-chain-governance/.releaserc +++ b/subgraphs/cross-chain-governance/.releaserc @@ -76,7 +76,6 @@ [ "@semantic-release/exec", { - "prepareCmd": "./prepare.sh", "successCmd": "./deploy.sh" } ] diff --git a/subgraphs/cross-chain-governance/prepare.sh b/subgraphs/cross-chain-governance/prepare.sh deleted file mode 100755 index be0c4efc..00000000 --- a/subgraphs/cross-chain-governance/prepare.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# Install from root -cd ../.. - -git pull - -yarn diff --git a/subgraphs/etherfi-promo/prepare.sh b/subgraphs/etherfi-promo/prepare.sh index 7d6762aa..c04016b6 100755 --- a/subgraphs/etherfi-promo/prepare.sh +++ b/subgraphs/etherfi-promo/prepare.sh @@ -1,3 +1,5 @@ #!/bin/bash git pull + +yarn lock diff --git a/subgraphs/isolated-pools/prepare.sh b/subgraphs/isolated-pools/prepare.sh index be0c4efc..bcf82cb0 100755 --- a/subgraphs/isolated-pools/prepare.sh +++ b/subgraphs/isolated-pools/prepare.sh @@ -4,4 +4,5 @@ cd ../.. git pull +yarn lock yarn diff --git a/subgraphs/protocol-reserve/prepare.sh b/subgraphs/protocol-reserve/prepare.sh index be0c4efc..bcf82cb0 100755 --- a/subgraphs/protocol-reserve/prepare.sh +++ b/subgraphs/protocol-reserve/prepare.sh @@ -4,4 +4,5 @@ cd ../.. git pull +yarn lock yarn diff --git a/subgraphs/venus-governance/prepare.sh b/subgraphs/venus-governance/prepare.sh old mode 100755 new mode 100644 index be0c4efc..95627139 --- a/subgraphs/venus-governance/prepare.sh +++ b/subgraphs/venus-governance/prepare.sh @@ -4,4 +4,4 @@ cd ../.. git pull -yarn +YARN_ENABLE_IMMUTABLE_INSTALLS=true yarn diff --git a/subgraphs/venus/prepare.sh b/subgraphs/venus/prepare.sh index be0c4efc..bcf82cb0 100755 --- a/subgraphs/venus/prepare.sh +++ b/subgraphs/venus/prepare.sh @@ -4,4 +4,5 @@ cd ../.. git pull +yarn lock yarn