From ec41fd87a3b4c56c946f01611e1780afbc5569cb Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 4 Mar 2022 18:27:02 -0800 Subject: [PATCH] Explicitly set go version --- build/release/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/release/build.sh b/build/release/build.sh index d042f00c5..260c3a3bd 100755 --- a/build/release/build.sh +++ b/build/release/build.sh @@ -71,7 +71,7 @@ build() { pushd dist/${NAME} >> /dev/null - CGO_ENABLED=1 ~/go/bin/xgo --branch ${GIT_BRANCH} -ldflags "-s -w -X github.com/owncast/owncast/config.GitCommit=${GIT_COMMIT} -X github.com/owncast/owncast/config.BuildVersion=${VERSION} -X github.com/owncast/owncast/config.BuildPlatform=${NAME}" -tags enable_updates -targets "${OS}/${ARCH}" github.com/owncast/owncast + CGO_ENABLED=1 ~/go/bin/xgo -go latest --branch ${GIT_BRANCH} -ldflags "-s -w -X github.com/owncast/owncast/config.GitCommit=${GIT_COMMIT} -X github.com/owncast/owncast/config.BuildVersion=${VERSION} -X github.com/owncast/owncast/config.BuildPlatform=${NAME}" -tags enable_updates -targets "${OS}/${ARCH}" github.com/owncast/owncast mv owncast-*-${ARCH} owncast zip -r -q -8 ../owncast-$VERSION-$NAME.zip .