This commit is contained in:
Maxim Lobanov
2020-12-16 11:46:22 +03:00
parent 7e43a35182
commit c304390e31
2 changed files with 12 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ Import-Module $PSScriptRoot/helpers.psm1 -DisableNameChecking
# Create JSON body
$text = "The following versions of '$toolName' are available to upload: $toolVersion"
if ($PipelineUrl) {
if (-not ([string]::IsNullOrWhiteSpace($PipelineUrl))) {
$text += "\nLink to the pipeline: $pipelineUrl"
}
$jsonBodyMessage = @"