From ec04f7f1aaf54a4bfe397619d4609ad28c76c686 Mon Sep 17 00:00:00 2001 From: Marwan051 <115355087+Marwan051@users.noreply.github.com> Date: Thu, 19 Mar 2026 20:15:36 +0200 Subject: [PATCH] chore: add WinGet manifest configuration to goreleaser (#344) feat: add WinGet manifest configuration for package distribution use brew token for winget too Signed-off-by: drew --- .goreleaser.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index d51a87b29efab929c16550dbb8656d33c3972b70..b27baea2e3f14237f63860f597987b2535adad92 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -118,6 +118,49 @@ brews: # This tells Homebrew to just install the binary. install: | bin.install "matcha" +# 'winget' configures the WinGet manifest generation and publication. +winget: + - # Name of the package in WinGet. + name: matcha + # Unique package identifier used by WinGet. + package_identifier: floatpane.matcha + # WinGet publisher metadata. + publisher: floatpane + publisher_url: "https://matcha.floatpane.com" + publisher_support_url: "https://github.com/floatpane/matcha/issues" + + # Package metadata. + short_description: "A beautiful and functional email client for your terminal." + description: | + A beautiful and functional email client for your terminal, built with Go and the charming Bubble Tea TUI library. + Never leave your command line to check your inbox or send an email again! + homepage: "https://matcha.floatpane.com" + license: MIT + tags: + - email + - terminal + - tui + + # Use release changelog as WinGet release notes. + release_notes: "{{ .Changelog }}" + + # Commit to a feature branch in winget-pkgs and open a PR. + repository: + owner: floatpane + name: winget-pkgs + branch: "{{ .ProjectName }}-{{ .Version }}" + token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" + pull_request: + enabled: true + base: + owner: microsoft + name: winget-pkgs + branch: master + + # Commit author for manifest updates. + commit_author: + name: goreleaserbot + email: bot@goreleaser.com # 'snapcrafts' configures the Snapcraft integration. snapcrafts: