mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 19:50:24 +00:00
update message for Xamarin
This commit is contained in:
@@ -35,7 +35,11 @@ param(
|
|||||||
Import-Module $PSScriptRoot/helpers.psm1 -DisableNameChecking
|
Import-Module $PSScriptRoot/helpers.psm1 -DisableNameChecking
|
||||||
|
|
||||||
# Create JSON body
|
# Create JSON body
|
||||||
$text = "The following versions of '$toolName' are available, consider adding them to toolset: $toolVersion"
|
if ($toolName -eq "Xamarin") {
|
||||||
|
$text = "The following versions of '$toolName' are available, consider adding them to toolset: $toolVersion"
|
||||||
|
} else {
|
||||||
|
$text = "The following versions of '$toolName' are available to upload: $toolVersion"
|
||||||
|
}
|
||||||
if (-not ([string]::IsNullOrWhiteSpace($PipelineUrl))) {
|
if (-not ([string]::IsNullOrWhiteSpace($PipelineUrl))) {
|
||||||
$text += "\nLink to the pipeline: $pipelineUrl"
|
$text += "\nLink to the pipeline: $pipelineUrl"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user