-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create winget package #3425
Comments
yeah this just hasn't happened yet because I don't know how to do it, some help would be great. Even if you could just give me a script to build it I could do the work of integrating it into the release process |
After some research I found Komac, which seems to be used by a lot of rust based projects like It provides a GitHub Action. |
This Repo might be a good starting point to implement your own Gh-Workflow. |
unrelated: seems like a tool we should add to the registry I think the best way to integrate it would be to add it to build-tarball.ps1 Then I think we just need to modify this to add it as an asset: mise/.github/workflows/release.yml Lines 125 to 129 in 9c71e44
And then it needs to be published to s3 and the github release, and I assume to WinGet after that. I will probably have some time to get around to this at some point, but it involves dusting off my windows laptop so idk when. My gut says the stock github-action wouldn't work well with the existing release infra. |
This tool would definitely make a fine addition to the tool collection! Afaik the publishing process to winget is just a pull request to the official These manifests include the location where to pull the exe/installer from, for most packages it is the GH Releases page. The Action could do a pull request to winget-pkgs automatically for each release. It is also possible to create an external repo that periodically checks the Releases page for mise and updates the manifest on a change. I have a Windows machine ready, lmk if i can help. |
you should be able to just run that ps file if you clone this repo, e.g.: |
so I went ahead and made a pr with komac and it seems to work locally for me, but the CI suite failed in the PR and I don't even see an error message so I'm not sure what to do at this point |
oh nice, I was exploring scoop as an alternative but someone beat me to it ScoopInstaller/Main#6374 |
Chocolatey is another |
In Windows there is a way to install packages like on most linux distros with a package manager. It's called
winget
and is officially supported by Microsoft.Offering mise to be installed via winget would make the distribution on Windows much easier.
If there is interest in this, I could contribute to it.
Creating a package is pretty straight forward with
winget-create
.The text was updated successfully, but these errors were encountered: