Merge pull request #1442 from dotnet/piotrpMSFT/ps1disambiguate

Fix Windows version badge filename
This commit is contained in:
Piotr Puszkiewicz 2016-02-16 14:17:12 -08:00
commit a14618f787

View file

@ -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