Skip to content

Commit 0107738

Browse files
committed
fixup! Adding winget workflows
During a refactoring I accidentally omitted the `$manifestPath` variable that is required to determine the `$manifestDirectory` for the submission command to WinGet. Since the directory is just a constant, let's update the submission command. Signed-off-by: Matthew John Cheetham <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0a8cb87 commit 0107738

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-winget.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
6767
.\wingetcreate.exe update Microsoft.Git `
6868
-v $version `
69-
-o manifests `
69+
-o . `
7070
-u "$($asset_x64_url)|x64|machine" `
7171
"$($asset_x64_url)|x64|user" `
7272
"$($asset_arm64_url)|arm64|machine" `
@@ -77,6 +77,6 @@ jobs:
7777
Write-Host -NoNewLine "::add-mask::$(Get-Content token.txt)"
7878
7979
# Submit the manifest to the winget-pkgs repository
80-
$manifestDirectory = Split-Path "$manifestPath"
81-
.\wingetcreate.exe submit -t "$(Get-Content token.txt)" $manifestDirectory
80+
$manifestDirectory = "$PWD\manifests\m\Microsoft\Git\$version"
81+
.\wingetcreate.exe submit -t "$(Get-Content token.txt)" $manfiestDirectory
8282
shell: powershell

0 commit comments

Comments
 (0)