Skip to content

Commit

Permalink
build: fix main binary path in goreleaser configs
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t committed Apr 28, 2024
1 parent d163e76 commit 3226c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ snapshot:
name_template: "commit-{{ .ShortCommit }}"
builds:
- env: [CGO_ENABLED=0]
main: ./cmd/meta
ldflags:
- -s -w -X main.version={{ .Version }}
- -extldflags "-static"
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
project_name: meta
builds:
- env: [CGO_ENABLED=0]
main: ./cmd/meta
ldflags:
- -s -w -X main.version={{ .Tag }}
- -extldflags "-static"
Expand Down

0 comments on commit 3226c60

Please sign in to comment.