Skip to content

Commit c4db580

Browse files
authored
Add config to publish winget packages (#582)
1 parent 08e09b8 commit c4db580

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.goreleaser.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,21 @@ nix:
128128
extra_install: |-
129129
installManPage ./manpages/nginx-prometheus-exporter.1.gz
130130
installShellCompletion ./completions/*
131+
132+
winget:
133+
- publisher: nginxinc
134+
license: Apache-2.0
135+
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
136+
short_description: NGINX Prometheus Exporter for NGINX and NGINX Plus
137+
repository:
138+
owner: nginxinc
139+
name: winget-pkgs
140+
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
141+
branch: "nginx-prometheus-exporter-{{.Version}}"
142+
pull_request:
143+
enabled: true
144+
draft: true
145+
base:
146+
owner: microsoft
147+
name: winget-pkgs
148+
branch: master

0 commit comments

Comments
 (0)