Skip to content

Commit

Permalink
Merge pull request #27 from WanderaOrg/release-fix
Browse files Browse the repository at this point in the history
Remove linker flag
  • Loading branch information
coufalja authored Dec 3, 2018
2 parents 606cb83 + 54530a4 commit e9ba30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9ba30e

Please sign in to comment.