Skip to content

Commit

Permalink
I0010 fix goreleaser config (#12)
Browse files Browse the repository at this point in the history
* build: fix win 1

* build: fix win 2

* fix: fix windows goreleaser

* fix: add verbose flag

* fix: 45

* fix: 46

* fix: 47

* fix: 48`

* fix: 49

* fix: fix windows builds to embed the timezone db
  • Loading branch information
sdewitt-newrelic authored Jun 16, 2023
1 parent 482e739 commit 5c8aec2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,23 @@ builds:
main: ./cmd/nr-entity-tag-sync/nr-entity-tag-sync.go
env:
- CGO_ENABLED=0
flags:
- '{{ if eq .CurrentOS "windows" }}-tags=timetzdata{{ end }}'
goos:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
overrides:
- goos: windows
goarch: "386"
flags:
- '-tags=timetzdata'
- goos: windows
goarch: amd64
goamd64: v1
flags:
- '-tags=timetzdata'

archives:
- format: tar.gz
Expand Down

0 comments on commit 5c8aec2

Please sign in to comment.