lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.16k stars 429 forks source link

ci: add winget releaser workflow #887

Closed sitiom closed 3 weeks ago

sitiom commented 1 year ago

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:

  1. Add a classic PAT with public_repo scope as a repository secret named WINGET_TOKEN. You can go to this URL to create it: https://github.com/settings/tokens/new?scopes=public_repo

example

  1. 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.
  2. 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

muniu-bot[bot] commented 1 month ago

[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.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/lsd-rs/lsd/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
sitiom commented 3 weeks ago

Bump @zwpaper

zwpaper commented 3 weeks ago

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

sitiom commented 3 weeks ago

@zwpaper Windows build failed https://github.com/lsd-rs/lsd/actions/runs/10475485501? (Winget releaser depends on it)