Add version badges generation to build

Add version badge generation using shields.io service. The badge
is uploaded to a fixed Azure BLOB location which can be referenced
from README.md. Since the badge creation is not crucial, do not fail the build
if it cannot be created.

Fix #1000
This commit is contained in:
Zlatko Knezevic 2016-01-27 22:00:58 -08:00
parent 2d04bdcd17
commit 95f059697f
4 changed files with 31 additions and 0 deletions

View file

@ -156,5 +156,10 @@ elseif([System.IO.Path]::GetExtension($file).ToLower() -eq ".msi")
{
$result = UploadInstallers $file
}
elseif ([System.IO.Path]::GetExtension($file).ToLower() -eq ".svg")
{
UploadFile "dev/Binaries/Latest/$([System.IO.Path]::GetFileName($file))" $file
$result = $true
}
exit $result