Skip to content

Commit 47e081a

Browse files
committed
Fix debug
1 parent cf4934a commit 47e081a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ builds:
1818
- -w -X main.Version={{.Version}} -X main.BuildTime={{.Date}}
1919
gcflags:
2020
- >-
21-
{{- if ne .Env.DEBUG "" }}all=-N -l{{- end }}
21+
{{- if ne (index .Env "DEBUG") "" }}all=-N -l{{- end }}
2222
targets:
2323
- darwin_amd64
2424
- darwin_arm64

0 commit comments

Comments
 (0)