Merge pull request #6684 from gyuho/build-with-strip

release: build binary without symbols for debug
This commit is contained in:
Xiang Li 2016-10-19 10:33:50 -07:00 committed by GitHub
commit e95b571e7c

View File

@ -62,7 +62,7 @@ function main {
export GOARCH="amd64"
pushd etcd >/dev/null
./build
GO_LDFLAGS="-s" ./build
popd >/dev/null
TARGET="etcd-${VER}-${GOOS}-${GOARCH}"