We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f03da3f commit 4884994Copy full SHA for 4884994
.github/workflows/winget.yml
@@ -56,9 +56,11 @@ jobs:
56
- PackageIdentifier: Microsoft.PowerShell
57
MinimumVersion: "7.0.0"
58
"@
59
- # Insert dependency block before the Installers section
+ # Remove existing top-level Dependencies block (if any), then insert ours
60
+ $content = $content -replace '(?m)^Dependencies:\r?\n([ ]+.+\r?\n)*', ''
61
$content = $content -replace '(?m)^Installers:', "$dependency`nInstallers:"
62
Set-Content -Path $installerManifest -Value $content
63
64
# Submit the modified manifest
- .\wingetcreate.exe submit manifests
65
+ $manifestPath = Split-Path $installerManifest
66
+ .\wingetcreate.exe submit $manifestPath
0 commit comments