From c4db5802c409bd29d12d2c3c5a66b0c06b0d5de5 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 8 Jan 2024 19:48:40 +0100 Subject: [PATCH] Add config to publish winget packages (#582) --- .goreleaser.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4b7c256a..d67e4e73 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -128,3 +128,21 @@ nix: extra_install: |- installManPage ./manpages/nginx-prometheus-exporter.1.gz installShellCompletion ./completions/* + +winget: + - publisher: nginxinc + license: Apache-2.0 + homepage: https://github.com/nginxinc/nginx-prometheus-exporter + short_description: NGINX Prometheus Exporter for NGINX and NGINX Plus + repository: + owner: nginxinc + name: winget-pkgs + token: '{{ .Env.NGINX_GITHUB_TOKEN }}' + branch: "nginx-prometheus-exporter-{{.Version}}" + pull_request: + enabled: true + draft: true + base: + owner: microsoft + name: winget-pkgs + branch: master