CI: Update Go install script to fix latest version query
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
e6679e6c50
commit
4e05270385
2
scripts/dist/install-go.sh
vendored
2
scripts/dist/install-go.sh
vendored
|
@ -15,7 +15,7 @@ fi
|
|||
|
||||
# Query version.
|
||||
if [[ -z $GOLANG_VERSION ]]; then
|
||||
GOLANG_VERSION=$(curl -fsSL https://go.dev/VERSION?m=text)
|
||||
GOLANG_VERSION=$(curl -fsSL https://go.dev/VERSION?m=text | head -n 1)
|
||||
fi
|
||||
|
||||
echo "Installing ${GOLANG_VERSION} in \"${DESTDIR}\"..."
|
||||
|
|
Loading…
Reference in a new issue