Skip to content

Commit 29a7733

Browse files
committed
Switch to goreleaser v2
1 parent dbd5db9 commit 29a7733

1 file changed

Lines changed: 11 additions & 67 deletions

File tree

.goreleaser.yml

Lines changed: 11 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,12 @@
1+
version: 2
2+
3+
project_name: iamlive
14
builds:
2-
- binary: iamlive
3-
env:
4-
- CGO_ENABLED=0
5-
id: windows
6-
goos:
7-
- windows
8-
goarch:
9-
- "386"
10-
- amd64
11-
- binary: iamlive
12-
env:
13-
- CGO_ENABLED=0
14-
id: linux
15-
goos:
16-
- linux
17-
goarch:
18-
- "386"
19-
- amd64
20-
- arm64
21-
- binary: iamlive
22-
env:
23-
- CGO_ENABLED=0
24-
id: macos-amd64
25-
goos:
26-
- darwin
27-
goarch:
28-
- amd64
29-
- binary: iamlive
30-
env:
31-
- CGO_ENABLED=0
32-
id: macos-arm64
33-
goos:
34-
- darwin
35-
goarch:
36-
- arm64
37-
archives:
38-
- id: linux-archive
39-
builds:
40-
- linux
41-
format: tar.gz
42-
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
43-
files:
44-
- none*
45-
- id: windows-archive
46-
builds:
47-
- windows
48-
format: zip
49-
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
50-
files:
51-
- none*
52-
- id: darwin-archive
53-
builds:
54-
- macos-amd64
55-
- macos-arm64
56-
format: tar.gz
57-
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
58-
files:
59-
- none*
60-
release:
61-
ids:
62-
- linux-archive
63-
- windows-archive
64-
extra_files:
65-
- glob: ./dist/*.dmg
66-
- glob: ./dist/*-darwin-amd64.zip
67-
- glob: ./dist/*-darwin-arm64.zip
68-
checksum:
5+
- env: [CGO_ENABLED=0]
6+
goos:
7+
- linux
8+
- windows
9+
- darwin
10+
goarch:
11+
- amd64
12+
- arm64

0 commit comments

Comments
 (0)