summaryrefslogtreecommitdiffhomepage
path: root/.drone.yml
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2019-11-26 15:00:02 -0500
committerGitHub <noreply@github.com>2019-11-26 15:00:02 -0500
commit86aa794172bfe40d0bb3d7b7a1c48cf164c1e4c8 (patch)
treed5e0117d16324cc6574121264a4fbc06c3dca358 /.drone.yml
parentCI: init (diff)
CI: just strip during build lul
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 42126c1..06948c5 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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