cli icon indicating copy to clipboard operation
cli copied to clipboard

Release hcloud to winget

Open EDM115 opened this issue 11 months ago • 3 comments

TL;DR

hcloud cli can be already installed easily using homebrew and scoop, and winget could be another easy way to install it on Windows, especially since it comes pre-bundled nowadays

Expected behavior

Over the time, winget has matured and has become a competent package manager for windows.
Behavior of winget is different over scoop (see https://www.reddit.com/r/Windows10/comments/19aqmmc/comment/kiqzbld/ and https://github.com/marticliment/UniGetUI/discussions/309#discussioncomment-3923546), but some users might prefer one over the other.
Moreover, winget is preinstalled nowadays compared to scoop that users have to install separately.

So far, I don't have scoop (and don't plan to install it), and I have been manually updating my executable of hcloud for the past months, having it installed through winget would ease this (especially when users use a GUI to update like UniGetUI).

Releasing to winget is documented here and there, and can be automated through GitHub Actions as well.

EDM115 avatar Jan 17 '25 09:01 EDM115

Nobody in our team is using Windows, which makes maintaining such pipelines difficult. We will discuss this ticket internally.

jooola avatar Jan 17 '25 11:01 jooola

This feature is low priority, depending on how involved maintained such pipeline is, we might support it at some point.

It could be implemented using the goreleaser winget publishing configuration https://goreleaser.com/customization/winget/

We should check if nupkg (using chocolatey) is a better alternative, winget looks "more official". But I don't know enough to actually answer this question.

jooola avatar Jan 21 '25 10:01 jooola

hello to the Hetzner team ^^
any update on this ? 👀

EDM115 avatar Nov 14 '25 22:11 EDM115