diff --git a/.github/workflows/release_version_bump.yml b/.github/workflows/release_version_bump.yml index 3704b9742..3ad9633fa 100644 --- a/.github/workflows/release_version_bump.yml +++ b/.github/workflows/release_version_bump.yml @@ -206,8 +206,9 @@ jobs: # The dispatched workflow pins seaweedfs with `go get -u ...@latest`, so # wait until the proxy serves the release commit as the tip. Asking for - # the commit by name is what makes the proxy fetch it. - for _ in $(seq 30); do + # the commit by name is what makes the proxy fetch it. The proxy can + # take longer than five minutes to refresh @latest after a new tag. + for _ in $(seq 120); do curl -sf "https://proxy.golang.org/${MODULE}/@v/${SHA}.info" >/dev/null || true TIP=$(curl -sf "https://proxy.golang.org/${MODULE}/@latest" | jq -r '.Origin.Hash // ""' || true) [ "$TIP" = "$SHA" ] && break