File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ $ScriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
6060$Version = (& " $ScriptPath /../Makefile" version - s)
6161$BuildDir = " $ScriptPath /../build/k8s-resources/$Version "
6262$BinaryDir = " $ScriptPath /../build/bin"
63- $ReleaseId = (Invoke-RestMethod - Uri " https://api.github.com/repos/LikithaVemulapalli/aws-node-termination-handler/releases" - Headers @ {Authorization = " token $env: GITHUB_TOKEN " } | ConvertFrom-Json | Where-Object { $_.tag_name -eq $Version }).id
63+ $ReleaseId = (Invoke-RestMethod - Uri " https://api.github.com/repos/LikithaVemulapalli/aws-node-termination-handler/releases" - Headers @ {Authorization = " token $env: GITHUB_TOKEN " } | Where-Object { $_.tag_name -eq $Version }).id
6464
6565if (-not $ReleaseId ) {
66- Write-Output " ❌ Failed to find release ID for version $Version ❌"
66+ Write-Output " ❌ Failed to find release ID for version $Version ❌"
6767 exit 1
6868}
6969
You can’t perform that action at this time.
0 commit comments