1
+ version : 2
1
2
before :
2
3
hooks :
3
4
- ./scripts/completions.sh
@@ -34,10 +35,10 @@ builds:
34
35
asmflags :
35
36
- all=-trimpath={{.Env.GOPATH}}
36
37
ldflags :
37
- - ' -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'
38
+ - " -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"
38
39
39
40
changelog :
40
- skip : true
41
+ disable : true
41
42
42
43
archives :
43
44
- format_overrides :
58
59
- repository :
59
60
owner : nginxinc
60
61
name : homebrew-tap
61
- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
62
- folder : Formula
62
+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
63
+ directory : Formula
63
64
homepage : https://github.com/nginxinc/nginx-prometheus-exporter
64
65
description : NGINX Prometheus Exporter for NGINX and NGINX Plus
65
66
license : Apache-2.0
75
76
- cmd : cosign
76
77
artifacts : checksum
77
78
output : true
78
- certificate : ' ${artifact}.pem'
79
+ certificate : " ${artifact}.pem"
79
80
args :
80
81
- sign-blob
81
82
- " --output-signature=${signature}"
@@ -86,17 +87,17 @@ signs:
86
87
announce :
87
88
slack :
88
89
enabled : true
89
- channel : ' #announcements'
90
- message_template : ' NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}'
90
+ channel : " #announcements"
91
+ message_template : " NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"
91
92
92
93
milestones :
93
94
- close : true
94
95
95
96
snapshot :
96
- name_template : ' edge'
97
+ name_template : " edge"
97
98
98
99
snapcrafts :
99
- - name_template : ' {{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
100
+ - name_template : " {{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
100
101
title : NGINX Prometheus Exporter
101
102
summary : NGINX Prometheus Exporter for NGINX and NGINX Plus
102
103
description : |
@@ -106,7 +107,7 @@ snapcrafts:
106
107
grade : stable
107
108
confinement : strict
108
109
publish : true
109
- license : ' Apache-2.0'
110
+ license : " Apache-2.0"
110
111
apps :
111
112
nginx-prometheus-exporter :
112
113
command : nginx-prometheus-exporter
119
120
repository :
120
121
owner : nginxinc
121
122
name : nur
122
- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
123
+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
123
124
homepage : https://github.com/nginxinc/nginx-prometheus-exporter
124
125
description : NGINX Prometheus Exporter for NGINX and NGINX Plus
125
126
license : asl20
@@ -139,7 +140,7 @@ winget:
139
140
repository :
140
141
owner : nginxinc
141
142
name : winget-pkgs
142
- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
143
+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
143
144
branch : " nginx-prometheus-exporter-{{.Version}}"
144
145
pull_request :
145
146
enabled : true
@@ -153,8 +154,8 @@ scoops:
153
154
- repository :
154
155
owner : nginxinc
155
156
name : scoop-bucket
156
- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
157
- folder : bucket
157
+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
158
+ directory : bucket
158
159
homepage : https://github.com/nginxinc/nginx-prometheus-exporter
159
160
description : NGINX Prometheus Exporter for NGINX and NGINX Plus
160
161
license : Apache-2.0
0 commit comments