Skip to content

Commit 73ce330

Browse files
authored
Eth Docker pinning would work with semver tags, or other tags (#2006)
1 parent e52b21a commit 73ce330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ update() {
14981498
if [ -z "${__value}" ] || [ "${__value}" = "latest" ]; then
14991499
export ETHDPINNED=""
15001500
__branch=$(git rev-parse --abbrev-ref HEAD)
1501-
if [[ "${__branch}" =~ ^tag-v[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
1501+
if [[ "${__branch}" =~ ^tag-* ]]; then
15021502
git checkout main
15031503
fi
15041504
# This preps for a removal of ext-network.yml in a future update, after Pectra

0 commit comments

Comments
 (0)