From 54530a48d421cf68f289836c484daa1772e76de8 Mon Sep 17 00:00:00 2001 From: "jakub.coufal" Date: Mon, 3 Dec 2018 14:49:18 +0100 Subject: [PATCH] Remove linker flag --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 91c011b..af98506 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ before_deploy: if [ "$GOOS" = "windows" ]; then build_cmd="GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-w -s -X 'github.com/WanderaOrg/scccmd/cmd.Version=${TRAVIS_TAG}" else - build_cmd="CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-d -w -s -X 'github.com/WanderaOrg/scccmd/cmd.Version=${TRAVIS_TAG}" + build_cmd="CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-w -s -X 'github.com/WanderaOrg/scccmd/cmd.Version=${TRAVIS_TAG}" fi if ! eval $build_cmd; then echo "Failed building sample for $PLATFORM" && return 1