Skip to content

Commit

Permalink
Downgrade proto reflection errors to warnings in build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lootag committed Aug 19, 2024
1 parent 6b36beb commit b8b363d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ before:
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w -X coralogix/provider.providerVersion={{.Version}}
- -s -w -X coralogix/provider.providerVersion={{.Version}} -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn
goos:
- darwin
- freebsd
- linux
- windows
goarch:
- '386'
- "386"
- amd64
- arm
- arm64
ignore:
- goarch: '386'
- goarch: "386"
goos: darwin
binary: '{{ .ProjectName }}_{{ .Version }}'
binary: "{{ .ProjectName }}_{{ .Version }}"
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
algorithm: sha256
signs:
- artifacts: checksum
Expand All @@ -43,4 +43,4 @@ release:
#disable: true
draft: false
#changelog:
# disable: true
# disable: true

0 comments on commit b8b363d

Please sign in to comment.