]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: properly set GOPROXY to avoid deprecation checks
authorMichael Matloob <matloob@golang.org>
Thu, 22 May 2025 16:40:51 +0000 (12:40 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 22 May 2025 18:05:17 +0000 (11:05 -0700)
commit155ba387a93fddbd6ced288fe539a55c31b2597e
tree4e92a265b4540fe34348e87067b4042d326189df
parentef3bb638de442dc41d1e34a32e893d2041731e8c
cmd/doc: properly set GOPROXY to avoid deprecation checks

This change fixes a bug that was introduced in CL 675155. Instead of
doing the two step download and run with GOPROXY=off, do the run with
GOPROXY=<download cache>:$GOPROXY, so that we use the previously
downloaded version of pkgsite as the latest.

Fixes #73833

Change-Id: I8803426498ab026602805d6448a130eb11458c99
Reviewed-on: https://go-review.googlesource.com/c/go/+/675576
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/doc/main.go