Automate winget releases
Chafa was added to winget, but can there be an automated release instead? It would prevent the winget version from lagging behind the current release.
You could automatically push chafa GitHub releases to winget with a GitHub workflow.
In this repo you could create a GitHub Action that publishes to winget on a GitHub release. Example: https://github.com/sxyazi/yazi/pull/1299
Maybe @sitiom could help with this. He created published the original winget manifest.
Thanks for suggesting this! It sounds like something we can do, but it'd be great to hear what the current publisher thinks first.
In this repo you could create a GitHub Action that publishes to winget on a GitHub release. Example: sxyazi/yazi#1299
Yes, that would work if only the stand-alone executables were available on the GitHub releases (which is not the case right now).
Hi, @sitiom! Big thanks for adding it to Winget and for maintaining it so far. I've installed Chafa from your distribution on several occasions :-)
The reason I haven't been adding binary releases to GitHub is that it adds complexity to the release process - it's just one more thing I need to keep on a checklist lest I forget to do it. I also prefer a single source for binaries because it's easier to guarantee security that way.
I've noticed some distributors pull the artefacts from the official website, and some have rules to detect when a new version has been dropped.
I have questions:
- Does Winget have tooling to download from plain https repositories? If so, this may be a better option.
- Do you know if it's theoretically possible to have the GH action that publishes to Winget download from the official website, instead of from the GH release?
- Does Winget have tooling to download from plain https repositories? If so, this may be a better option.
- Do you know if it's theoretically possible to have the GH action that publishes to Winget download from the official website, instead of from the GH release?
Apologies for the late response. Yes, Winget Releaser (the action mentioned above), uses Komac under the hood. There is an alternative action mentioned in the readme that can do that for you: https://github.com/michidk/winget-updater
FYI, @hpjansson, winget chafa is still version 1.14.5.
FYI, @hpjansson, winget chafa is still version
1.14.5.
Created a new PR:
- https://github.com/microsoft/winget-pkgs/pull/288718
Hey, thanks! It could take me some time to get around to this - I'd accept a PR adding the GH releaser action if it pulls from the official website.