forked from kubeshop/tracetest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
73 lines (71 loc) · 1.47 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
project_name: tracetest
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
# discussion_category_name: General
draft: false
prerelease: auto
before:
hooks:
- go mod tidy
builds:
- ldflags:
- -X github.com/kubeshop/tracetest/cli/config.Version={{ .Env.VERSION }}
- -X github.com/kubeshop/tracetest/cli/config.Env={{ .Env.TRACETEST_ENV }}
- -X github.com/kubeshop/tracetest/cli/analytics.SecretKey={{ .Env.ANALYTICS_BE_KEY }}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "7"
archives:
- replacements:
386: i386
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
universal_binaries:
- id: tracetest
replace: true
nfpms:
- id: tracetest
vendor: Kubeshop
homepage: https://tracetest.kubeshop.io/
maintainer: Sebastian Choren <sebastian@kubeshop.io>
license: MIT
formats:
- deb
- rpm
replacements:
386: i386
deb:
lintian_overrides:
- statically-linked-binary
publishers:
- name: fury.io
env:
- 'FURY_TOKEN={{ .Env.FURY_TOKEN }}'
# relative to cli/, where goreleaser runs from
cmd: ../scripts/fury-upload.sh {{ .ArtifactName }}
brews:
- tap:
owner: kubeshop
name: homebrew-tracetest
commit_author:
name: Brew Bot
email: brewbot@kubeshop.io
homepage: https://tracetest.kubeshop.io/
license: "MIT"