diff --git a/packages/golang/build.sh b/packages/golang/build.sh index bb0e1430d..1b0101acf 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -1,8 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" TERMUX_PKG_LICENSE="BSD 3-Clause" -local _MAJOR_VERSION=1.12.5 -TERMUX_PKG_SHA256=2aa5f088cbb332e73fc3def546800616b38d3bfe6b8713b8a6404060f22503e8 +local _MAJOR_VERSION=1.12.6 +TERMUX_PKG_SHA256=c96c5ccc7455638ae1a8b7498a030fe653731c8391c5f8e79590bce72f92b4ca # Use the ~ deb versioning construct in the future: TERMUX_PKG_VERSION=2:${_MAJOR_VERSION} TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz diff --git a/scripts/build/setup/termux_setup_golang.sh b/scripts/build/setup/termux_setup_golang.sh index 5bf495dd8..c689c911a 100644 --- a/scripts/build/setup/termux_setup_golang.sh +++ b/scripts/build/setup/termux_setup_golang.sh @@ -17,7 +17,7 @@ termux_setup_golang() { termux_error_exit "Unsupported arch: $TERMUX_ARCH" fi - local TERMUX_GO_VERSION=go1.12.5 + local TERMUX_GO_VERSION=go1.12.6 local TERMUX_GO_PLATFORM=linux-amd64 local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION} @@ -30,7 +30,7 @@ termux_setup_golang() { rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER" termux_download https://storage.googleapis.com/golang/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \ "$TERMUX_BUILDGO_TAR" \ - aea86e3c73495f205929cfebba0d63f1382c8ac59be081b6351681415f4063cf + dbcf71a3c1ea53b8d54ef1b48c85a39a6c9a935d01fc8291ff2b92028e59913c ( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) }