-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Brief description of your issue
I am trying to update an existing package with a new version with this command:
wingetcreate.exe update --submit --urls https://www.masterpackager.com/installer/dev/masterpackagerdev_1.0.6.msi https://www.masterpackager.com/uploads/file_archive/mpdev_self_contained_Arm64_1.0.6.msi --version 1.0.6 MasterPackager.MasterPackagerDev
And I receive the following error:
Retrieving latest manifest for MasterPackager.MasterPackagerDev Downloading and parsing: https://www.masterpackager.com/installer/dev/masterpackagerdev_1.0.6.msi... Downloading and parsing: https://www.masterpackager.com/uploads/file_archive/mpdev_self_contained_Arm64_1.0.6.msi... The number of new installer packages must match the number of existing installer packages.
Here is the previous manifest - https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/MasterPackager/MasterPackagerDev/1.0.5/MasterPackager.MasterPackagerDev.installer.yaml
As you can see it has 2 installer packages and the error message is incorrect.
Steps to reproduce
wingetcreate.exe update --submit --urls https://www.masterpackager.com/installer/dev/masterpackagerdev_1.0.6.msi https://www.masterpackager.com/uploads/file_archive/mpdev_self_contained_Arm64_1.0.6.msi --version 1.0.6 MasterPackager.MasterPackagerDev
Expected behavior
It should create a pull request with a new manifest for the new version.
Actual behavior
I receive this error message - The number of new installer packages must match the number of existing installer packages.
Environment
wingetcreate --help
Windows Package Manager Manifest Creator v1.5.5.0
winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.3570
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads D:\Downloads
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled