Skip to content

Commit 3307a2f

Browse files
committed
fix
1 parent b2cac6c commit 3307a2f

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

.goreleaser.yml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,43 @@ before:
99
- go mod tidy
1010

1111
builds:
12-
- id: sql2csv
12+
- id: sql2csv_cgo
1313
main: ./cmd/sql2csv
1414
binary: sql2csv
1515
env:
1616
- CGO_ENABLED=1
1717
goos:
1818
- linux
19-
- windows
2019
- darwin
20+
goarch:
21+
- amd64
22+
- arm64
23+
ignore:
24+
- goos: windows
25+
flags:
26+
- -trimpath
27+
ldflags:
28+
- -s -w
29+
30+
- id: sql2csv_nocgo
31+
main: ./cmd/sql2csv
32+
binary: sql2csv
33+
env:
34+
- CGO_ENABLED=0
35+
goos:
36+
- windows
37+
- linux
2138
goarch:
2239
- amd64
2340
- arm64
2441
- arm
2542
- 386
26-
- s390x
27-
- ppc64le
2843
goarm:
2944
- 7
30-
ignore:
31-
- goos: windows
32-
goarch: arm
33-
- goos: windows
34-
goarch: s390x
35-
- goos: windows
36-
goarch: ppc64le
37-
- goos: darwin
38-
goarch: 386
39-
- goos: darwin
40-
goarch: arm
41-
- goos: darwin
42-
goarch: s390x
43-
- goos: darwin
44-
goarch: ppc64le
45+
flags:
46+
- -trimpath
47+
ldflags:
48+
- -s -w
4549

4650
release:
4751
draft: true

0 commit comments

Comments
 (0)