From 0107738b28d1962d7fde5e4a857c07630c149a5c Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Tue, 29 Apr 2025 09:18:16 +0100 Subject: [PATCH] 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 Signed-off-by: Johannes Schindelin --- .github/workflows/release-winget.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-winget.yml b/.github/workflows/release-winget.yml index 5996e1c873ffbe..1cac748652beb3 100644 --- a/.github/workflows/release-winget.yml +++ b/.github/workflows/release-winget.yml @@ -66,7 +66,7 @@ jobs: Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe .\wingetcreate.exe update Microsoft.Git ` -v $version ` - -o manifests ` + -o . ` -u "$($asset_x64_url)|x64|machine" ` "$($asset_x64_url)|x64|user" ` "$($asset_arm64_url)|arm64|machine" ` @@ -77,6 +77,6 @@ jobs: Write-Host -NoNewLine "::add-mask::$(Get-Content token.txt)" # Submit the manifest to the winget-pkgs repository - $manifestDirectory = Split-Path "$manifestPath" - .\wingetcreate.exe submit -t "$(Get-Content token.txt)" $manifestDirectory + $manifestDirectory = "$PWD\manifests\m\Microsoft\Git\$version" + .\wingetcreate.exe submit -t "$(Get-Content token.txt)" $manfiestDirectory shell: powershell