Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

Automates submission of semver-cli releases to the Windows Package Manager (winget) repository.

Changes

Publish workflow (.github/workflows/publish.yml):

  • Added ZIP artifact creation for Windows builds (winget requirement)
  • New winget job on windows-latest runner that:
    • Generates three manifest files (installer, locale, version) following winget 1.6.0 schema
    • Uses portable installer type with nested semver.exe
    • Validates manifests via winget validate
    • Creates PR to microsoft/winget-pkgs repository
  • Manifest directory structure: manifests/o/Optum/semver/{VERSION}/
  • SHA256 hash extracted via PowerShell, normalized to lowercase
  • Release date sourced from GitHub event metadata

Documentation (README.md):

  • Added winget installation section with package identifier Optum.semver

Behavior

Triggers on release publish (non-prerelease only). After assets build completes, generates manifests and submits PR to microsoft/winget-pkgs for review. Users can install via winget install Optum.semver after Microsoft approval.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/microsoft/winget-pkgs
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/microsoft/winget-pkgs/git/trees/master
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)
  • learn.microsoft.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>feature: Add packages to winget</issue_title>
<issue_description>## Feature Request

When a new version is created package and submit it to the winget repository.

  1. Package .exe into an installer of some kind
  2. Update winget manifest as needed
  3. Run on a windows build agent to run winget tool
  4. Automatically generate PR in winget gitops repo

Docs

https://learn.microsoft.com/en-us/windows/package-manager/package/</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI and others added 3 commits January 22, 2026 18:26
Co-authored-by: justinmchase <10974+justinmchase@users.noreply.github.com>
Co-authored-by: justinmchase <10974+justinmchase@users.noreply.github.com>
Co-authored-by: justinmchase <10974+justinmchase@users.noreply.github.com>
Copilot AI changed the title [WIP] Add packages to winget repository Add automated winget package submission Jan 22, 2026
Copilot AI requested a review from justinmchase January 22, 2026 18:31
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: Add packages to winget

3 participants