Skip to content

Commit 78b5e48

Browse files
committed
(fix) Using correct variable for tag
1 parent 0a76e98 commit 78b5e48

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)