Skip to content

Commit f2a4dc7

Browse files
committed
Fix goreleaser
1 parent fd8d755 commit f2a4dc7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ before:
1717

1818
builds:
1919
- env:
20-
- CGO_ENABLED=1
20+
- CGO_ENABLED=0
2121
main: ./cmd/sqliteadmin
2222
goos:
2323
- linux
24-
- windows
2524
- darwin
2625

2726
archives:
28-
- format: tar.gz
27+
- formats: [tar.gz]
2928
# this name template makes the OS and Arch compatible with the results of `uname`.
3029
name_template: >-
3130
{{ .ProjectName }}_
@@ -34,10 +33,6 @@ archives:
3433
{{- else if eq .Arch "386" }}i386
3534
{{- else }}{{ .Arch }}{{ end }}
3635
{{- if .Arm }}v{{ .Arm }}{{ end }}
37-
# use zip for windows archives
38-
format_overrides:
39-
- goos: windows
40-
format: zip
4136
4237
changelog:
4338
sort: asc

0 commit comments

Comments
 (0)