Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

release: wait for Go proxy propagation (#11219)

Chris Lu213f4c5d5c8a
diff --git a/.github/workflows/release_version_bump.yml b/.github/workflows/release_version_bump.yml
index 3704b97427..3ad9633fa4 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