Skip to content

Commit

Permalink
fix: add missing ldflags to goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Huck committed Aug 2, 2023
1 parent dbc0d9c commit 4af7ecf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ builds:
- env:
- CGO_ENABLED=0
dir: ./cmd/calendarsync
ldflags:
- -X 'main.BuildTime={{.Date}}'
- -X 'main.Version={{.Version}}'
goos:
- linux
- windows
Expand Down

0 comments on commit 4af7ecf

Please sign in to comment.