Skip to content

Commit e5c4012

Browse files
Update goreleaser config (#72)
1 parent 0fb668c commit e5c4012

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

.goreleaser.yml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ before:
33
- make update-dependencies
44
- make generate
55
builds:
6-
-
7-
goos:
6+
- goos:
87
- freebsd
98
- windows
109
- darwin
@@ -16,12 +15,12 @@ builds:
1615
- 386
1716

1817
archives:
19-
- replacements:
20-
darwin: Darwin
21-
linux: Linux
22-
windows: Windows
23-
386: i386
24-
amd64: x86_64
18+
- replacements:
19+
darwin: Darwin
20+
linux: Linux
21+
windows: Windows
22+
386: i386
23+
amd64: x86_64
2524

2625
checksum:
2726
name_template: 'checksums.txt'
@@ -33,22 +32,20 @@ changelog:
3332
sort: asc
3433
filters:
3534
exclude:
36-
- '^docs:'
37-
- '^test:'
38-
- '^examples:'
35+
- '^docs:'
36+
- '^test:'
37+
- '^examples:'
3938

4039
dockers:
41-
-
42-
goos: linux
40+
- goos: linux
4341
image_templates:
4442
- thomaspoignant/{{.ProjectName}}:latest
4543
- thomaspoignant/{{.ProjectName}}:{{ .Tag }}
4644
- thomaspoignant/{{.ProjectName}}:v{{ .Major }}
4745
- thomaspoignant/{{.ProjectName}}:v{{ .Major }}.{{ .Minor }}
4846
brews:
49-
-
50-
# Github repository to push the tap to.
51-
github:
47+
- # Github repository to push the tap to.
48+
tap:
5249
owner: thomaspoignant
5350
name: homebrew-tap
5451

@@ -75,8 +72,7 @@ scoop:
7572
license: Unlicence
7673

7774
nfpms:
78-
-
79-
# Replacements for GOOS and GOARCH in the package name.
75+
- # Replacements for GOOS and GOARCH in the package name.
8076
# Keys should be valid GOOSs or GOARCHs.
8177
# Values are the respective replacements.
8278
replacements:
@@ -102,4 +98,4 @@ nfpms:
10298
# Formats to be generated.
10399
formats:
104100
- deb
105-
- rpm
101+
- rpm

0 commit comments

Comments
 (0)