Merge branch 'badges' of https://github.com/blackdwarf/cli into blackdwarf-badges

This commit is contained in:
Piotr Puszkiewicz 2016-02-16 00:30:16 -08:00
commit d24de40ae5
3 changed files with 10 additions and 10 deletions

View file

@ -140,10 +140,10 @@ function UploadVersionBadge($badgeFile)
$fileName = "windows_$Configuration_$([System.IO.Path]::GetFileName($badgeFile))"
Write-Host "Uploading the version badge to Latest"
UploadFile "dev/Binaries/Latest/$filename" $badgeFile
UploadFile "$env:CHANNEL/Binaries/Latest/$filename" $badgeFile
Write-Host "Uploading the version badge to $env:DOTNET_CLI_VERSION"
UploadFile "dev/Binaries/$env:DOTNET_CLI_VERSION/$filename" $badgeFile
UploadFile "$env:CHANNEL/Binaries/$env:DOTNET_CLI_VERSION/$filename" $badgeFile
return 0
}

View file

@ -194,10 +194,10 @@ upload_version_badge(){
local badgefile=$1
local filename="$OSNAME_$CONFIGURATION_$(basename $badgefile)"
echo "Uploading the version badge to Latest"
upload_file_to_blob_storage_azure_cli "dev/Binaries/Latest/$filename" $badgefile
upload_file_to_blob_storage_azure_cli "$CHANNEL/Binaries/Latest/$filename" $badgefile
echo "Uploading the version badge to $DOTNET_CLI_VERSION"
upload_file_to_blob_storage_azure_cli "dev/Binaries/$DOTNET_CLI_VERSION/$filename" $badgefile
upload_file_to_blob_storage_azure_cli "$CHANNEL/Binaries/$DOTNET_CLI_VERSION/$filename" $badgefile
return 0
}