Closed DonDom86 closed 2 years ago
Hi,
$GitHubUrl = "https://api.github.com/repos/evotecit/Testimo/releases"
if ($(Test-Connection $GitHubUrl -Quiet -Count 1) -eq $true) { [Array] $GitHubReleases = (Get-GitHubLatestRelease -Url $GitHubUrl)
} else { [Array] $GitHubReleases = [PSCustomObject] @{ PublishDate = "" CreatedDate = "" PreRelease = "" Version = "" Tag = "" Branch = "" Errors = "Unable to connect to the remote server" }
}
Hi,
$GitHubUrl = "https://api.github.com/repos/evotecit/Testimo/releases"
if ($(Test-Connection $GitHubUrl -Quiet -Count 1) -eq $true) { [Array] $GitHubReleases = (Get-GitHubLatestRelease -Url $GitHubUrl)
} else { [Array] $GitHubReleases = [PSCustomObject] @{ PublishDate = "" CreatedDate = "" PreRelease = "" Version = "" Tag = "" Branch = "" Errors = "Unable to connect to the remote server" }
}