Explorar o código

release: build binary without symbols for debug

Gyu-Ho Lee %!s(int64=9) %!d(string=hai) anos
pai
achega
0bd9179835
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/build-binary

+ 1 - 1
scripts/build-binary

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