Skip to content

Commit c00d3f2

Browse files
authored
Merge pull request #3671 from detiber/proxyIsh
📖 default GOPROXY if not set when building mdbook preprocessors
2 parents 456152e + 756cc28 commit c00d3f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/book/util-embed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ set -o nounset
1919
set -o pipefail
2020

2121
EMBED="../../hack/tools/bin/mdbook-embed"
22-
make ${EMBED} &>/dev/null
22+
make ${EMBED} GOPROXY="${GOPROXY:-"https://proxy.golang.org"}" &>/dev/null
2323
${EMBED} "$@"

docs/book/util-releaselink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ set -o nounset
1919
set -o pipefail
2020

2121
RELEASELINK="../../hack/tools/bin/mdbook-releaselink"
22-
make ${RELEASELINK} &>/dev/null
22+
make ${RELEASELINK} GOPROXY="${GOPROXY:-"https://proxy.golang.org"}" &>/dev/null
2323
${RELEASELINK} "$@"

docs/book/util-tabulate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ set -o nounset
1919
set -o pipefail
2020

2121
TABULATE="../../hack/tools/bin/mdbook-tabulate"
22-
make ${TABULATE} &>/dev/null
22+
make ${TABULATE} GOPROXY="${GOPROXY:-"https://proxy.golang.org"}" &>/dev/null
2323
${TABULATE} "$@"

0 commit comments

Comments
 (0)