diff options
| author | 2019-11-26 15:00:02 -0500 | |
|---|---|---|
| committer | 2019-11-26 15:00:02 -0500 | |
| commit | 86aa794172bfe40d0bb3d7b7a1c48cf164c1e4c8 (patch) | |
| tree | d5e0117d16324cc6574121264a4fbc06c3dca358 | |
| parent | CI: init (diff) | |
CI: just strip during build lul
| -rw-r--r-- | .drone.yml | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4,9 +4,7 @@ name: default common: &common image: golang:alpine commands: - - apk add binutils # strip - - go build -v -o "${DRONE_REPO_NAME}-$${GOOS}-$${GOARCH}" - - strip "${DRONE_REPO_NAME}-$${GOOS}-$${GOARCH}" + - go build -v -o "${DRONE_REPO_NAME}-$${GOOS}-$${GOARCH}" -ldflags "-s -w" steps: - name: build-linux-amd64 |
