mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #6684 from gyuho/build-with-strip
release: build binary without symbols for debug
This commit is contained in:
commit
e95b571e7c
@ -62,7 +62,7 @@ function main {
|
|||||||
export GOARCH="amd64"
|
export GOARCH="amd64"
|
||||||
|
|
||||||
pushd etcd >/dev/null
|
pushd etcd >/dev/null
|
||||||
./build
|
GO_LDFLAGS="-s" ./build
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
TARGET="etcd-${VER}-${GOOS}-${GOARCH}"
|
TARGET="etcd-${VER}-${GOOS}-${GOARCH}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user