Skip to content

Commit

Permalink
feat: smaller executable (remove debug info)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrince committed Apr 29, 2024
1 parent 91e02f9 commit bab6910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ echo "Building(${BEAT})"

rm -rf "${GOPATH}/bin"
cd "${SRC}/beats/${BEAT}"
env GOOS=linux GOARCH=arm go install -v -a ./...
env GOOS=linux GOARCH=arm go install -v -a -ldflags "-s -w" ./...

if [[ $TYPE != "tag" ]] ; then
#do not packe if not a tag
Expand Down

0 comments on commit bab6910

Please sign in to comment.