mirror of
https://github.com/owncast/owncast.git
synced 2024-10-23 04:55:56 +03:00
Strip debug symbols from binary. For #76
This commit is contained in:
parent
05c511848a
commit
4ec076cf34
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ build() {
|
|||
|
||||
pushd dist/${NAME} >> /dev/null
|
||||
|
||||
CGO_ENABLED=1 ~/go/bin/xgo -ldflags "-X main.GitCommit=${GIT_COMMIT} -X main.BuildVersion=${VERSION} -X main.BuildType=${NAME}" -targets "${OS}/${ARCH}" github.com/gabek/owncast
|
||||
CGO_ENABLED=1 ~/go/bin/xgo -ldflags "-s -w -X main.GitCommit=${GIT_COMMIT} -X main.BuildVersion=${VERSION} -X main.BuildType=${NAME}" -targets "${OS}/${ARCH}" github.com/gabek/owncast
|
||||
mv owncast-*-${ARCH} owncast
|
||||
|
||||
zip -r -q -8 ../owncast-$NAME-$VERSION.zip .
|
||||
|
|
Loading…
Reference in a new issue