1+ version : 2
12before :
23 hooks :
34 - ./scripts/completions.sh
@@ -34,10 +35,10 @@ builds:
3435 asmflags :
3536 - all=-trimpath={{.Env.GOPATH}}
3637 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"
3839
3940changelog :
40- skip : true
41+ disable : true
4142
4243archives :
4344 - format_overrides :
5859 - repository :
5960 owner : nginxinc
6061 name : homebrew-tap
61- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
62- folder : Formula
62+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
63+ directory : Formula
6364 homepage : https://github.com/nginxinc/nginx-prometheus-exporter
6465 description : NGINX Prometheus Exporter for NGINX and NGINX Plus
6566 license : Apache-2.0
7576 - cmd : cosign
7677 artifacts : checksum
7778 output : true
78- certificate : ' ${artifact}.pem'
79+ certificate : " ${artifact}.pem"
7980 args :
8081 - sign-blob
8182 - " --output-signature=${signature}"
@@ -86,17 +87,17 @@ signs:
8687announce :
8788 slack :
8889 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 }}"
9192
9293milestones :
9394 - close : true
9495
9596snapshot :
96- name_template : ' edge'
97+ name_template : " edge"
9798
9899snapcrafts :
99- - name_template : ' {{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
100+ - name_template : " {{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
100101 title : NGINX Prometheus Exporter
101102 summary : NGINX Prometheus Exporter for NGINX and NGINX Plus
102103 description : |
@@ -106,7 +107,7 @@ snapcrafts:
106107 grade : stable
107108 confinement : strict
108109 publish : true
109- license : ' Apache-2.0'
110+ license : " Apache-2.0"
110111 apps :
111112 nginx-prometheus-exporter :
112113 command : nginx-prometheus-exporter
119120 repository :
120121 owner : nginxinc
121122 name : nur
122- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
123+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
123124 homepage : https://github.com/nginxinc/nginx-prometheus-exporter
124125 description : NGINX Prometheus Exporter for NGINX and NGINX Plus
125126 license : asl20
@@ -139,7 +140,7 @@ winget:
139140 repository :
140141 owner : nginxinc
141142 name : winget-pkgs
142- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
143+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
143144 branch : " nginx-prometheus-exporter-{{.Version}}"
144145 pull_request :
145146 enabled : true
@@ -153,8 +154,8 @@ scoops:
153154 - repository :
154155 owner : nginxinc
155156 name : scoop-bucket
156- token : ' {{ .Env.NGINX_GITHUB_TOKEN }}'
157- folder : bucket
157+ token : " {{ .Env.NGINX_GITHUB_TOKEN }}"
158+ directory : bucket
158159 homepage : https://github.com/nginxinc/nginx-prometheus-exporter
159160 description : NGINX Prometheus Exporter for NGINX and NGINX Plus
160161 license : Apache-2.0
0 commit comments