Skip to content

Commit

Permalink
fix: goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed May 31, 2022
1 parent b7ff03d commit a2ed2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ builds:
env:
- CGO_ENABLED=0
main: ./main.go
binary: '{{ with .Var.binary_name }}{{ . }}{{ else }}{{ .ProjectName }}{{ end }}'
binary: derocli
ldflags: -s -w -X github.com/stratumfarm/derocli/internal/version.Version={{ .Version }} -X github.com/stratumfarm/derocli/internal/version.Commit={{ .Commit }} -X github.com/stratumfarm/derocli/internal/version.Date={{ .Date }} -X github.com/stratumfarm/derocli/internal/version.BuiltBy=goreleas
flags:
- -trimpath
Expand Down

0 comments on commit a2ed2b4

Please sign in to comment.