Skip to content

Commit 7a07939

Browse files
committed
Add .goreleaser.yml
1 parent 65dc371 commit 7a07939

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.goreleaser.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
builds:
2+
-
3+
main: ./cmd/koala/main.go
4+
env:
5+
- CGO_ENABLED=0
6+
archive:
7+
replacements:
8+
darwin: Darwin
9+
linux: Linux
10+
windows: Windows
11+
386: i386
12+
amd64: x86_64
13+
checksum:
14+
name_template: 'checksums.txt'
15+
snapshot:
16+
name_template: "{{ .Tag }}-next"
17+
changelog:
18+
sort: asc
19+
filters:
20+
exclude:
21+
- '^docs:'
22+
- '^test:'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $(DEP):
3939
go get -v -u github.com/golang/dep/cmd/dep
4040

4141
release: $(GORELEASER)
42-
goreleaser
42+
goreleaser --rm-dist
4343

4444
cover: test
4545
go tool cover -html=coverage-all.out

0 commit comments

Comments
 (0)