Skip to content

Commit 8bdf18e

Browse files
committed
chore: fix goreleaser config
1 parent f2bd653 commit 8bdf18e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.goreleaser.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ before:
77
# you may remove this if you don't need go generate
88
- go generate ./...
99
builds:
10+
- main: cmd/main.go
11+
binary: leetcode-tool
12+
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
1013
- env:
1114
- CGO_ENABLED=0
1215
goos:

0 commit comments

Comments
 (0)