Skip to content

Commit 32119fb

Browse files
committed
.drone.yml: Suffix Windows binary with .exe and add publish target
1 parent 1928a51 commit 32119fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.drone.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,17 @@ steps:
7575
commands:
7676
- cd /go/src/github.com/coredns/coredns
7777
- make
78-
- mv coredns /go/src/github.com/leiless/dnsredir/bin/coredns_dnsredir-$GOOS-$GOARCH
78+
- mv coredns /go/src/github.com/leiless/dnsredir/bin/coredns_dnsredir-$GOOS-$GOARCH.exe
7979
- name: calc-shasum256
8080
image: alpine
8181
commands:
8282
- uname -a
8383
- cd /go/src/github.com/leiless/dnsredir/bin
8484
- sha256sum coredns* | tee shasum256.txt
85+
- name: publish
86+
image: plugins/github-release
87+
settings:
88+
api_key:
89+
from_secret: github_token
90+
files: bin/coredns*
8591

0 commit comments

Comments
 (0)