From 4a3bc51fad2c68fb44a6c590a28484a941c1e30f Mon Sep 17 00:00:00 2001 From: paolino Date: Mon, 26 Aug 2024 16:21:42 +0000 Subject: [PATCH 1/2] Fix default wallet version in linux-e2e.sh --- scripts/buildkite/main/linux-e2e.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/buildkite/main/linux-e2e.sh b/scripts/buildkite/main/linux-e2e.sh index 115c7c89d33..b2d543e01f8 100755 --- a/scripts/buildkite/main/linux-e2e.sh +++ b/scripts/buildkite/main/linux-e2e.sh @@ -11,7 +11,10 @@ export TESTS_LOGDIR CARDANO_NODE_CONFIGS="$(pwd)/configs/cardano" export CARDANO_NODE_CONFIGS -VERSION=$(buildkite-agent meta-data get "release-version" --default "v2024-07-27") +CURRENT_VERSION=v2024-08-11 + +VERSION=$(buildkite-agent meta-data get "release-version" --default "$CURRENT_VERSION") + echo "VERSION=$VERSION" buildkite-agent artifact \ From 80c614923f07bda1b58e787b4695affde3da0873 Mon Sep 17 00:00:00 2001 From: paolino Date: Mon, 26 Aug 2024 16:24:53 +0000 Subject: [PATCH 2/2] Add linux-e2e.sh in the files to be updated in case of release --- scripts/buildkite/release/release-candidate.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/buildkite/release/release-candidate.sh b/scripts/buildkite/release/release-candidate.sh index 312223fe007..09f0e9cc13e 100755 --- a/scripts/buildkite/release/release-candidate.sh +++ b/scripts/buildkite/release/release-candidate.sh @@ -57,6 +57,9 @@ sed -i "s|WALLET_TAG=.*|WALLET_TAG=$NEW_CABAL_VERSION|g" README.md sed -i "s|WALLET_VERSION=.*|WALLET_VERSION=$NEW_GIT_TAG|g" README.md git commit -am "Update cardano-wallet version in README.md" +sed -i "s|$OLD_GIT_TAG|$NEW_GIT_TAG|g" scripts/buildkite/main/linux-e2e.sh +git commit -am "Update cardano-wallet version in linux-e2e.sh" + RELEASE_COMMIT=$(git rev-parse HEAD) git remote set-url origin "git@github.com:cardano-foundation/cardano-wallet.git"