Skip to content

(maint) Automate the submission of MSIs to winget#3913

Open
corbob wants to merge 3 commits into
chocolatey:developfrom
corbob:submit-to-winget
Open

(maint) Automate the submission of MSIs to winget#3913
corbob wants to merge 3 commits into
chocolatey:developfrom
corbob:submit-to-winget

Conversation

@corbob

@corbob corbob commented Jun 11, 2026

Copy link
Copy Markdown
Member

Description Of Changes

This commit adds a script that will ensure the choco-bot winget-pkgs repository is in sync, then it will run wingetcreate to submit the latest Chocolatey CLI to winget.

Motivation and Context

Automate parts of our release process.

Testing

This script was formulated from the commands I ran as part of the 2.7.3 release. There isn't a huge amount of testing that can be done with it until the next release...

Operating Systems Testing

Dev VM 4.

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v3 compatibility checked?
  • All items are complete on the Definition of Done.

Related Issue

N/A

@corbob corbob added this to the vNext milestone Jun 11, 2026
@corbob
corbob requested a review from Copilot June 11, 2026 13:29
@corbob corbob added the Build Automation Issues for changes to the build system, without functional changes needed to the project. label Jun 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a PowerShell automation script to sync the choco-bot/winget-pkgs fork and submit the latest Chocolatey CLI MSI to WinGet using wingetcreate, supporting release-process automation.

Changes:

  • Introduces Submit-MsiToWinget.ps1 to gh repo sync the choco-bot/winget-pkgs repo.
  • Fetches latest GitHub release asset metadata and runs wingetcreate update --submit for the Chocolatey package.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Submit-MsiToWinget.ps1
Comment thread Submit-MsiToWinget.ps1 Outdated
corbob and others added 2 commits June 11, 2026 06:41
This commit adds a script that will ensure the choco-bot winget-pkgs
repository is in sync, then it will run wingetcreate to submit the
latest Chocolatey CLI to winget.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@corbob
corbob force-pushed the submit-to-winget branch from d7de275 to 15b7da6 Compare June 11, 2026 13:42
This commit updates the formatting from the copilot suggested changes
and makes it a little more in line with PowerShell best practices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Automation Issues for changes to the build system, without functional changes needed to the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants