-
Notifications
You must be signed in to change notification settings - Fork 373
Expand file tree
/
Copy path.goreleaser.yml
More file actions
118 lines (109 loc) · 2.7 KB
/
.goreleaser.yml
File metadata and controls
118 lines (109 loc) · 2.7 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: 2
before:
hooks:
- ./scripts/completions.sh
- ./scripts/manpages.sh
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- freebsd
- linux
- solaris
- windows
goarch:
- 386
- amd64
- arm
- arm64
- mips64
- mips64le
- ppc64
- ppc64le
- riscv64
- s390x
goarm:
- 5
- 6
- 7
gomips:
- softfloat
ignore:
- goos: windows
goarch: arm
flags:
- -trimpath
ldflags:
- "-s -w -X github.com/prometheus/common/version.Version={{.Version}} -X github.com/prometheus/common/version.BuildDate={{.Date}} -X github.com/prometheus/common/version.Branch={{.Branch}} -X github.com/prometheus/common/version.BuildUser=goreleaser"
changelog:
disable: true
archives:
- format_overrides:
- goos: windows
formats: ['zip']
files:
- README.md
- LICENSE
- completions/*
- manpages/*
sboms:
- artifacts: archive
documents:
- "${artifact}.spdx.json"
signs:
- cmd: cosign
artifacts: checksum
output: true
certificate: "${artifact}.pem"
args:
- sign-blob
- "--output-signature=${signature}"
- "--output-certificate=${certificate}"
- "${artifact}"
- "--yes"
milestones:
- close: true
homebrew_casks:
- repository:
owner: nginx
name: homebrew-tap
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
directory: Casks
homepage: https://github.com/nginx/nginx-prometheus-exporter
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
commit_author:
name: nginx-bot
email: integrations@nginx.com
manpages:
- "manpages/nginx-prometheus-exporter.1.gz"
completions:
bash: "completions/nginx-prometheus-exporter.bash"
zsh: "completions/nginx-prometheus-exporter.zsh"
nix:
- name: nginx-prometheus-exporter
repository:
owner: nginx
name: nur
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
homepage: https://github.com/nginx/nginx-prometheus-exporter
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
license: asl20
commit_author:
name: nginx-bot
email: integrations@nginx.com
extra_install: |-
installManPage ./manpages/nginx-prometheus-exporter.1.gz
installShellCompletion ./completions/*
scoops:
- repository:
owner: nginx
name: scoop-bucket
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
directory: bucket
homepage: https://github.com/nginx/nginx-prometheus-exporter
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
license: Apache-2.0
commit_author:
name: nginx-bot
email: integrations@nginx.com