-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
62 lines (56 loc) · 1.2 KB
/
.goreleaser.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
version: 2
before:
hooks:
- go mod download
builds:
- id: darwin
main: ./cmd/reportusage/main.go
goos:
- darwin
goarch:
- amd64
- arm64
- id: linux-windows
main: ./cmd/reportusage/main.go
goos:
- linux
- windows
goarch:
- arm
- amd64
- 386
goarm:
# show our love for ARM, why not
- 7
archives:
# being dramatic by separating the linux-windows and darwin
# builds to get a different naming style... but I'm okay with that
- id: linux-windows
builds:
- linux-windows
format: binary
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
- id: darwin
builds:
- darwin
format: binary
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: "checksums.txt"
algorithm: sha1
snapshot:
# show our love for semver *.build conventions
name_template: "{{ .Tag }}-build.{{ .ShortCommit }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
# nearly all of these are the defaults, just being explicit about them
github:
owner: aegershman
name: cf-report-usage-plugin
name_template: "{{ .Tag }}"