build: use local go toolchain in release script

This commit is contained in:
Mikhail Chusavitin committed 2026-03-16 00:32:09 +03:00
1 parent 057a222288
commit d8d3d8c524
2 files changed
+7 -1

No files matched your search

+3 -1
View File
@@ -24,7 +24,9 @@ echo ""
# Stable build env for this machine/toolchain
export GOPATH="${GOPATH:-/tmp/go}"
export GOCACHE="${GOCACHE:-/tmp/gocache}"
export GOTOOLCHAIN="${GOTOOLCHAIN:-go1.22.12}"
# Use the locally installed Go toolchain by default.
# A pinned or auto-downloaded toolchain can still be requested via env override.
export GOTOOLCHAIN="${GOTOOLCHAIN:-local}"
mkdir -p "${GOPATH}" "${GOCACHE}"
# Create release directory