Pass product codes through to new-version #6

Closed
opened 2026-10-14 03:10:18 -05:00 by jeff · 0 comments
Owner

Part of jeff/winget-pkgs#5
Blocked by: jeff/winget-pkgs#18

Add a product-codes input, one <architecture> <code> per line like
installers, passed to wingetsource new-version as one --product-code ARCHITECTURE=CODE each. Optional: a package whose installers have no
ProductCode passes nothing, as today.

For harrier, whose MSI gets a new ProductCode every release: its winget
job reads the code from the built MSI (msiinfo) and passes it here.

  • Parse it with the same rules as installers (blank lines ignored, two
    fields per line, no repeated architecture), with tests.
  • README: the input in the table, and a note that a wix/msi package needs
    it once jeff/winget-pkgs#18 makes new-version refuse a stale code.
  • Bump the commit harrier and clipwatch pin only where they need it; clipwatch
    does not.
Part of jeff/winget-pkgs#5 Blocked by: jeff/winget-pkgs#18 Add a `product-codes` input, one `<architecture> <code>` per line like `installers`, passed to `wingetsource new-version` as one `--product-code ARCHITECTURE=CODE` each. Optional: a package whose installers have no `ProductCode` passes nothing, as today. For harrier, whose MSI gets a new `ProductCode` every release: its `winget` job reads the code from the built MSI (`msiinfo`) and passes it here. - Parse it with the same rules as `installers` (blank lines ignored, two fields per line, no repeated architecture), with tests. - README: the input in the table, and a note that a `wix`/`msi` package needs it once jeff/winget-pkgs#18 makes `new-version` refuse a stale code. - Bump the commit harrier and clipwatch pin only where they need it; clipwatch does not.
jeff closed this issue 2026-10-14 03:33:53 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
jeff/winget-submit#6
No description provided.