We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a76e98 + 78b5e48 commit d5165d2Copy full SHA for d5165d2
scripts/Get-GitHubRelease.ps1
@@ -37,7 +37,7 @@ function Get-GitHubRelease {
37
$apiUrl = "https://api.github.com/repos/$OwnerName/$RepositoryName/releases/latest"
38
39
if ($Tag -and $Tag -ne 'latest') {
40
- $apiUrl = "https://api.github.com/repos/$OwnerName/$RepositoryName/releases/tags/$TagName"
+ $apiUrl = "https://api.github.com/repos/$OwnerName/$RepositoryName/releases/tags/$Tag"
41
}
42
43
$Request = @{
0 commit comments