From 73ce3300072998c07c2090ac40a3b62888bdcee5 Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:39:42 -0500 Subject: [PATCH] Eth Docker pinning would work with semver tags, or other tags (#2006) --- ethd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethd b/ethd index e9f4b415..a6cbdd61 100755 --- a/ethd +++ b/ethd @@ -1498,7 +1498,7 @@ update() { if [ -z "${__value}" ] || [ "${__value}" = "latest" ]; then export ETHDPINNED="" __branch=$(git rev-parse --abbrev-ref HEAD) - if [[ "${__branch}" =~ ^tag-v[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + if [[ "${__branch}" =~ ^tag-* ]]; then git checkout main fi # This preps for a removal of ext-network.yml in a future update, after Pectra