Skip to content

Commit 152c435

Browse files
author
Ivan Kruglov
committed
gorelease settings
1 parent e2d0856 commit 152c435

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515

1616
requests/
1717
slapper
18+
dist

.goreleaser.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
builds:
2+
- goos:
3+
- linux
4+
- darwin
5+
goarch:
6+
- amd64
7+
env:
8+
- CGO_ENABLED=0
9+
10+
release:
11+
name_template: "v{{.Version}}"
12+
13+
archive:
14+
name_template: "{{.ProjectName}}-{{.Version}}-{{.Os}}-{{.Arch}}"
15+
format: tar.gz
16+
format_overrides:
17+
- goos: windows
18+
format: zip
19+
20+
checksum:
21+
name_template: "{{ .ProjectName }}-checksums.txt"

0 commit comments

Comments
 (0)