-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy path.goreleaser.yml
More file actions
43 lines (36 loc) · 897 Bytes
/
.goreleaser.yml
File metadata and controls
43 lines (36 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: 2
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
project_name: katana
builds:
- id: katana
ldflags:
- -s -w
binary: katana
main: ./cmd/katana/main.go
goos:
- linux
- windows
- darwin
goarch:
- amd64
- 386
- arm64
archives:
- formats: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
announce:
slack:
enabled: true
channel: '#release'
username: GoReleaser
message_template: 'New Release: {{ .ProjectName }} {{.Tag}} is published! Check it out at {{ .ReleaseURL }}'
discord:
enabled: true
message_template: '**New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'