diff --git a/scripts/publish/publish.ps1 b/scripts/publish/publish.ps1 index 328b1b324..f11ec01b0 100644 --- a/scripts/publish/publish.ps1 +++ b/scripts/publish/publish.ps1 @@ -142,7 +142,7 @@ function UploadInstallers($installerFile) function UploadVersionBadge($badgeFile) { - $fileName = "windows_$Configuration_$([System.IO.Path]::GetFileName($badgeFile))" + $fileName = "windows_$($Configuration)_$([System.IO.Path]::GetFileName($badgeFile))" Write-Host "Uploading the version badge to Latest" UploadFile "$env:CHANNEL/Binaries/Latest/$fileName" $badgeFile