We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b72b5f commit ba87713Copy full SHA for ba87713
.drone.yml
@@ -18,6 +18,14 @@ steps:
18
- git fetch --tags authenticated-origin
19
- bump patch --allow-dirty > .tags
20
- git push authenticated-origin --tags
21
+ - make all
22
+
23
+ - name: publish
24
+ image: plugins/github-release
25
+ settings:
26
+ api_key:
27
+ from_secret: kite_bot_key
28
+ files: bin/*
29
30
- name: Build container
31
image: plugins/docker
Makefile
@@ -5,7 +5,7 @@ APPS := goci
5
all: $(APPS)
6
7
$(APPS):
8
- 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/$@
9
10
clean:
11
rm -rf bin/*
0 commit comments