diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..f9ba4a7 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +URL="https://go.dev/VERSION?m=text" + +VERSION=$(curl -s -L "$URL" | head -n1) + +# Trim prefix +VERSION=${VERSION//go/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index c03ab21..b9f5db6 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: golang description: The GO programming language -version: 1.24.4 -revision: 1 +version: 1.25.1 url: https://go.dev/ license: BSD-3-Clause architecture: any diff --git a/source.sh b/source.sh index 18901a0..24ba676 100644 --- a/source.sh +++ b/source.sh @@ -28,7 +28,7 @@ build() { check() { cd src export GO_TEST_TIMEOUT_SCALE=3 - ./run.bash --no-rebuild -v -v -v -k + ./run.bash --no-rebuild -v -v -v -k -run "!cmd/cgo/internal/testsanitizers" } # The package function is executed in the source directory