From 21d5b61a66a234c17191dabdec8140bb37c7d07e Mon Sep 17 00:00:00 2001 From: aalu1418 <50029043+aalu1418@users.noreply.github.com> Date: Tue, 21 May 2024 16:02:40 -0600 Subject: [PATCH] fix: handle new location for e2e test solana version --- scripts/update-solana.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/update-solana.sh b/scripts/update-solana.sh index 09c9124ae..a115fbf53 100755 --- a/scripts/update-solana.sh +++ b/scripts/update-solana.sh @@ -5,7 +5,7 @@ cliVersion=$(grep -oh "release.solana.com/v[0-9]*.[0-9]*.[0-9]*" scripts/install echo "Current Test CLI Version: $cliVersion" cd integration-tests -testVersion=$(grep -oh "solanalabs/solana:v[0-9]*.[0-9]*.[0-9]*" */**/*.go) +testVersion=$(grep -oh "solanalabs/solana:v[0-9]*.[0-9]*.[0-9]*" testconfig/default.toml) echo "Current E2E Test Version: $testVersion" cd .. @@ -24,11 +24,11 @@ echo "Replacing Solana Image Version" if [ "$(uname -s)" = "Darwin" ]; then sed -i '' -e "s~$cliVersion~$latestCLI~" scripts/install-solana-ci.sh cd integration-tests - sed -i '' -e "s~$testVersion~$latestVersion~" */**/*.go + sed -i '' -e "s~$testVersion~$latestVersion~" testconfig/default.toml else sed -i -e "s~$cliVersion~$latestCLI~" scripts/install-solana-ci.sh cd integration-tests - sed -i -e "s~$testVersion~$latestVersion~" */**/*.go + sed -i -e "s~$testVersion~$latestVersion~" testconfig/default.toml fi cd ..