1
0
mirror of https://github.com/grafana/tempo.git synced 2025-03-15 15:18:31 +00:00
tempo/.goreleaser.yml

73 lines
1.4 KiB
YAML
Raw Normal View History

builds:
- id: "tempo"
main: ./cmd/tempo
binary: tempo
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
flags:
- -v
- -trimpath
ldflags:
- -s
- -w
- -X main.Branch={{ .Branch }}
- -X main.Revision={{ .ShortCommit }}
- -X main.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
- id: "tempo-query"
main: ./cmd/tempo-query
binary: tempo-query
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
flags:
- -v
- -trimpath
ldflags:
- -s
- -w
- -X main.Branch={{ .Branch }}
- -X main.Revision={{ .ShortCommit }}
- -X main.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
- id: "tempo-cli"
main: ./cmd/tempo-cli
binary: tempo-cli
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
flags:
- -v
- -trimpath
ldflags:
- -s
- -w
- -X main.Branch={{ .Branch }}
- -X main.Revision={{ .ShortCommit }}
- -X main.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
changelog:
skip: true
sort: asc
filters:
exclude:
- '^.github:'
- '^example:'
- '^integration:'
- '^vendor:'
snapshot:
name_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}'
release:
draft: true
prerelease: auto