Skip to content

Commit d5165d2

Browse files
committed
Merge branch 'hotfix/using-tag'
* hotfix/using-tag: (fix) Using correct variable for tag
2 parents 0a76e98 + 78b5e48 commit d5165d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Get-GitHubRelease.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function Get-GitHubRelease {
3737
$apiUrl = "https://api.github.com/repos/$OwnerName/$RepositoryName/releases/latest"
3838

3939
if ($Tag -and $Tag -ne 'latest') {
40-
$apiUrl = "https://api.github.com/repos/$OwnerName/$RepositoryName/releases/tags/$TagName"
40+
$apiUrl = "https://api.github.com/repos/$OwnerName/$RepositoryName/releases/tags/$Tag"
4141
}
4242

4343
$Request = @{

0 commit comments

Comments
 (0)