Skip to content

Commit

Permalink
Eth Docker pinning would work with semver tags, or other tags (#2006)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Dec 11, 2024
1 parent e52b21a commit 73ce330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73ce330

Please sign in to comment.