From 4fd321df58c57f71d9002e59f3b0e8187fabb190 Mon Sep 17 00:00:00 2001 From: sugh01 Date: Fri, 23 Aug 2024 14:05:56 +0200 Subject: [PATCH] Add script to fetch and update Charon to the latest version --- scripts/check-image-updates.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/check-image-updates.sh b/scripts/check-image-updates.sh index 19fcc7d4..6b09e3ab 100755 --- a/scripts/check-image-updates.sh +++ b/scripts/check-image-updates.sh @@ -59,3 +59,7 @@ update-client "Teku" "validator" ".validator.teku" "$TEKU_LATEST_VERSION" PRYSM_LATEST_VERSION=$(curl -H "Authorization: Bearer $PAT" -sL https://api.github.com/repos/prysmaticlabs/prysm/releases/latest | jq -r ".tag_name") update-client "Prysm" "consensus" ".consensus.prysm" "$PRYSM_LATEST_VERSION" update-client "Prysm" "validator" ".validator.prysm" "$PRYSM_LATEST_VERSION" + +## Charon +CHARON_LATEST_VERSION=$(curl -H "Authorization: Bearer $PAT" -sL https://api.github.com/repos/ObolNetwork/charon/releases/latest | jq -r ".tag_name") +update-client "Charon" "distributed" ".distributed.charon" "$PRYSM_LATEST_VERSION" \ No newline at end of file