Skip to content

Conversation

@mdanish-kh
Copy link

PR creates a GitHub action workflow to trigger on every stable release to publish Claude Code package to WinGet repository. microsoft/winget-create is the tool used for creating and submitting the manifest

Steps needed from maintainers

  • Add a repository secret named WINGET_CREATE_GITHUB_TOKEN that's a public access token (classic) with public_repo scope from the user account where the winget-pkgs fork will exist for submitting a PR. Recommend using a bot account for this purpose.

Validation

To validate one can just run the same powershell commands listed in the workflow job, but omit the --submit flag to prevent opening an actual PR.

curl.exe -JLO https://aka.ms/wingetcreate/latest
.\wingetcreate.exe update Anthropic.ClaudeCode `
  --version 10.0.0 `
  --urls https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.76/win32-x64/claude.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Publish to WinGet repository from release CI / CD

1 participant