We want to keep a local mirror of certain packages (so that agents don't connect out to random internet URLs for binaries).
I see the private WinGet repo feature (and the private non-WinGet repo, which might work), but I don't see a way to automate the new version creation and binary upload.
Is there a way?
For example, we can use this data to fetch a new version of the Notepad++ installer, but how can we automate the version creation in NME catalog?
(Invoke-RestMethod https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/releases) | Sort-Object published_at -Descending | Select-Object -First 1 -ExpandProperty assets | ?{$_.Name -like '*.x64.exe'} | Select-Object name,browser* | fl
name : npp.8.8.5.Installer.x64.exebrowser_download_url : https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.8.5/npp.8.8.5.Installer.x64.exe
Comments (0 comments)