Skip to content

Commit f01abd2

Browse files
mjcheethamdscho
authored andcommitted
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 $manifestDirectory 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 f01abd2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release-winget.yml

Lines changed: 2 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,5 @@ 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+
.\wingetcreate.exe submit -t "$(Get-Content token.txt)" "$PWD\manifests\m\Microsoft\Git\$version"
8281
shell: powershell

0 commit comments

Comments
 (0)