diff --git a/.drone.yml b/.drone.yml index e92c098..7dde06b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,14 @@ steps: - git fetch --tags authenticated-origin - bump patch --allow-dirty > .tags - git push authenticated-origin --tags + - make all + + - name: publish + image: plugins/github-release + settings: + api_key: + from_secret: kite_bot_key + files: bin/* - name: Build container image: plugins/docker diff --git a/Makefile b/Makefile index 06780e6..356c657 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ APPS := goci all: $(APPS) $(APPS): - go build --ldflags "-X main.Version=$$(cat .tags)" -o bin/$@ ./cmd/$@ + CGO_ENABLED=0 go build --ldflags "-X main.Version=$$(cat .tags)" -o bin/$@ ./cmd/$@ clean: rm -rf bin/*