release: build binary without symbols for debug

release-3.1
Gyu-Ho Lee 2016-10-19 09:45:10 -07:00
parent 28a29d9ecd
commit 0bd9179835
1 changed files with 1 additions and 1 deletions

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}"