Skip to content

Commit 2f7e92a

Browse files
committed
fix: update goreleaser config for multi-module structure
1 parent 6535b6e commit 2f7e92a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.goreleaser.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ project_name: imgx
66

77
before:
88
hooks:
9+
- cp go.work.example go.work
910
- go mod tidy
1011

1112
snapshot:
@@ -17,7 +18,8 @@ metadata:
1718
mod_timestamp: "{{ .CommitTimestamp }}"
1819

1920
builds:
20-
- main: ./cmd/imgx
21+
- dir: ./cmd/imgx
22+
main: .
2123
binary: imgx
2224
env:
2325
- CGO_ENABLED=0

0 commit comments

Comments
 (0)