Add Scoop and WinGet support for Windows
Add Scoop and WinGet support for Windows (#147)
Description
This adds Windows package manager support to score-compose so that Windows users can install the CLI without manually downloading and extracting a zip file.
Two package managers are now supported via GoReleaser automation:
- Scoop - publishes a manifest to
score-spec/scoop-bucketon every release using the existingTAP_GITHUB_TOKENsecret (same token already used for Homebrew, so no new secrets are needed). - WinGet - generates manifests and opens a pull request to
microsoft/winget-pkgsviascore-spec/winget-pkgsfork on every release.
The README.md installation section has also been updated to document all three Windows install methods: Scoop, WinGet, and manual download.
What does this PR do?
Closes #147
Windows users currently have no package manager option for score-compose they have to go to the Releases page, download a zip, extract it, and manually add the binary to their PATH. This PR wires up GoReleaser to handle Scoop and WinGet publishing automatically on every release, bringing the Windows experience on par with macOS (Homebrew).
Note for maintainers: Two one-time org-level steps are needed before the automation triggers on the next release:
- Create the
score-spec/scoop-bucketrepository.- Fork
microsoft/winget-pkgsinto thescore-specorg.
Types of changes
- [x] New feature (non-breaking change which adds functionality)
Checklist:
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I've signed off with an email address that matches the commit author.
Hey @mathieu-benoit, I've added Scoop and WinGet support via GoReleaser so Windows users can install score-compose without manually downloading a zip. It reuses the existing TAP_GITHUB_TOKEN, so no new secrets are needed. Two one-time org steps are needed before the next release creating score-spec/scoop-bucket and forking microsoft/winget-pkgs into the org. Happy to help set those up if needed. Would love your thoughts. Thanks
Hi @mathieu-benoit, Just following up on this when you get a chance. I rebased it on the latest main yesterday so it should be conflict-free. The only thing blocking the automation on the next release is the two one-time org steps (creating score-spec/scoop-bucket and forking microsoft/winget-pkgs), and I'm happy to help set those up if that's useful. Let me know if anything needs changing on my end. Thanks!