Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Explicitly set go version

Gabe Kangasa26f38d2426d
diff --git a/build/release/build.sh b/build/release/build.sh
index d042f00c5e..260c3a3bd5 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 .