lsd
lsd copied to clipboard
ci: add winget releaser workflow
- Resolves #735
This action automatically generates manifests for Winget Community Repository (microsoft/winget-pkgs) and submits them.
lsd has been added to Winget in https://github.com/microsoft/winget-pkgs/pull/118210, and this workflow will be used to update it.
Before merging this:
- Add a classic PAT with
public_reposcope as a repository secret namedWINGET_TOKEN. You can go to this URL to create it: https://github.com/settings/tokens/new?scopes=public_repo

- Fork https://github.com/microsoft/winget-pkgs under @lsd-rs. The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
- Install Pull on the winget-pkgs fork to ensure that it is constantly updated.
If you want to see an example of a PR created using this action, see microsoft/winget-pkgs/pulls (Pull request has been created with WinGet Releaser).
TODO
- [ ] Use
cargo fmt - [ ] Add necessary tests
- [ ] Add changelog entry
- [ ] Update default config/theme in README (if applicable)
- [ ] Update man page at lsd/doc/lsd.md (if applicable)
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sitiom
Once this PR has been reviewed and has the lgtm label, please assign zwpaper for approval by writing /assign @zwpaper in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Bump @zwpaper
Sorry for the late reply, I am not a windows user. the PR seems detailed enough, thanks for the help and let's merge it to see whether magic will happen
@zwpaper Windows build failed https://github.com/lsd-rs/lsd/actions/runs/10475485501? (Winget releaser depends on it)