Support updating packages and adding them under new PackageId #442
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Needs-Triage
Description of the new feature / enhancement
Some packages have their PackageIdentifier broken into each minor version.
Examples are:
UI-Xaml:
Microsoft.UI.Xaml.2.7
,Microsoft.UI.Xaml.2.8
Python:
Python.Python.3.9
,Python.Python.3.10
Currently the submissions for these packages cannot be fully automated through winget-create as it requires adding them under a new PackageIdentifier for every minor version bump.
Proposed technical implementation details
Support something like
--new-package-id <NewPackageIdentifier>
for update command.That way, a publisher can add code in the release pipeline that checks if the minor version is bumped which then uses this option to update and add the package in the new PackageIdentifier.
I'm thinking something like this in the release yaml file
This will always use the 3.10 manifest as the base manifest. If directory for $minorVersion already exists in repo, it will add the package under that directory else create a new PackageId/directory for it
The design is just off the top of my head and I would love to hear feedback for the proposed flow
The text was updated successfully, but these errors were encountered: