Skip to content

Commit 835f4bb

Browse files
committed
Update to goreleaser v2 configuration format
1 parent f1b0677 commit 835f4bb

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.goreleaser.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
project_name: go-vanity-gen
24

35
before:
@@ -17,33 +19,27 @@ builds:
1719
- linux
1820
- windows
1921
goarch:
20-
- 386
22+
- "386"
2123
- amd64
2224
- arm
2325
- arm64
2426
goarm:
25-
- 6
26-
- 7
27+
- "6"
28+
- "7"
2729

2830
archives:
2931
- id: tar
3032
builds:
3133
- go-vanity-gen
32-
replacements:
33-
darwin: darwin
34-
linux: linux
35-
windows: windows
34+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3635
files:
3736
- LICENSE
3837
- README.md
3938
format: tar.gz
4039
- id: zip
4140
builds:
4241
- go-vanity-gen
43-
replacements:
44-
darwin: darwin
45-
linux: linux
46-
windows: windows
42+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
4743
files:
4844
- LICENSE
4945
- README.md

0 commit comments

Comments
 (0)