Automate WinGet manifest updates on release#357
Merged
Conversation
Add a winget CI job that runs after the release job and submits a WinGet manifest update to microsoft/winget-pkgs via WingetCreate, which opens a PR that Microsoft validation and review still gate. WingetCreate is pinned to v1.12.8.0 and SHA-256 verified before running, and the job fails fast if WINGET_CREATE_GITHUB_TOKEN is unset. The installer URL reuses the release job's windows_archive output rather than duplicating the asset name. Document the automation in packaging/winget/README.md and advertise the now-published package (Dropbox.dbxcli, live in the public WinGet source) in the main README.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
wingetCI job that runs after thereleasejob and submits a WinGet manifest update tomicrosoft/winget-pkgsvia WingetCreate. WingetCreate opens a pull request that Microsoft validation and review still gate.Changes
.github/workflows/release.yml— newwingetjob (needsrelease); downloads WingetCreate, verifies its checksum, and submits the manifest update.README.md— WinGet install section.packaging/winget/README.md— document the automation; update manual instructions now that the package is published.Safety / hygiene
v1.12.8.0and SHA-256 verified before it runs.WINGET_CREATE_GITHUB_TOKENsecret is unset.windows_archiveoutput rather than duplicating the asset name; an earlier release step already asserts that asset exists.Verification
Dropbox.dbxcliis live in the public WinGet source (v3.6.0 present inmicrosoft/winget-pkgs), so the README install command is accurate.dbxcli_<version>_windows_amd64.zip) matches the release job'swindows_archiveoutput.