Responding to PR feedback, adding the OS names
This commit is contained in:
parent
810e66b8fd
commit
c124b2d79a
4 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -20,4 +20,4 @@ $VersionBadge = "$RepoRoot\resources\images\version_badge.svg"
|
||||||
$BadgeDestination = "$RepoRoot\artifacts\version_badge.svg"
|
$BadgeDestination = "$RepoRoot\artifacts\version_badge.svg"
|
||||||
(get-content $VersionBadge).replace("ver_number", "$env:DOTNET_CLI_VERSION") | set-content $BadgeDestination
|
(get-content $VersionBadge).replace("ver_number", "$env:DOTNET_CLI_VERSION") | set-content $BadgeDestination
|
||||||
|
|
||||||
& "$RepoRoot\publish\publish.ps1" -file $BadgeDestination
|
& "$RepoRoot\scripts\publish\publish.ps1" -file $BadgeDestination
|
||||||
|
|
|
@ -137,7 +137,7 @@ function UploadInstallers($msiFile)
|
||||||
|
|
||||||
function UploadVersionBadge($badgeFile)
|
function UploadVersionBadge($badgeFile)
|
||||||
{
|
{
|
||||||
$fileName = [System.IO.Path]::GetFileName($badgeFile)
|
$fileName = "windows_$Configuration_$([System.IO.Path]::GetFileName($badgeFile))"
|
||||||
|
|
||||||
Write-Host "Uploading the version badge to Latest"
|
Write-Host "Uploading the version badge to Latest"
|
||||||
UploadFile "dev/Binaries/Latest/$filename" $badgeFile
|
UploadFile "dev/Binaries/Latest/$filename" $badgeFile
|
||||||
|
|
|
@ -192,7 +192,7 @@ upload_installers_to_blob_storage(){
|
||||||
|
|
||||||
upload_version_badge(){
|
upload_version_badge(){
|
||||||
local badgefile=$1
|
local badgefile=$1
|
||||||
local filename=$(basename $badgefile)
|
local filename="$OSNAME_$CONFIGURATION_$(basename $badgefile)"
|
||||||
echo "Uploading the version badge to Latest"
|
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 "dev/Binaries/Latest/$filename" $badgefile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue