Skip to content

Commit b5c372b

Browse files
committed
Set path to main func in goreleaser
1 parent 127ec3d commit b5c372b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ builds:
1414
-v {{ dir .Path }}:/workdir
1515
{{ .Env.CODESIGN_IMAGE }}
1616
sign -product-name={{ .ProjectName }} {{ .Name }}
17+
dir: ./cmd/go-getter/
1718
flags:
1819
- -trimpath
1920
ldflags:
@@ -22,6 +23,7 @@ builds:
2223
targets:
2324
- linux_386
2425
- linux_amd64
26+
dir: ./cmd/go-getter/
2527
flags:
2628
- -trimpath
2729
ldflags:

0 commit comments

Comments
 (0)