File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- VERSION  = v1.108 .0
1+ VERSION  = v1.109 .0
22LATEST_RELEASE_TAG =$(shell  git describe --tags --abbrev=0) 
33LATEST_COMMIT_HASH =$(shell  git rev-parse HEAD) 
44LATEST_COMMIT_CHART_VERSION =$(shell  git --no-pager show ${LATEST_COMMIT_HASH}:config/helm/aws-node-termination-handler/Chart.yaml | grep 'version:' | cut -d' ' -f2 | tr -d '[:space:]') 
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function UploadAsset {
5757#  trap { HandleErrorsAndCleanup -ExitCode $global:LASTEXITCODE }
5858
5959$ScriptPath  =  Split-Path  - Parent $MyInvocation.MyCommand.Path  
60- $Version  =  ( &   " $ScriptPath /../Makefile "  version  - s) 
60+ $Version  =  v1. 109.0 
6161$BuildDir  =  " $ScriptPath /../build/k8s-resources/$Version " 
6262$BinaryDir  =  " $ScriptPath /../build/bin" 
6363
6969}
7070
7171Write-Output  " API Response:" 
72- Write-Output  $Response 
72+ Write-Output  $Response   |   ForEach-Object  {  Write-Output   $_ .tag_name  } 
7373
74- $release  =  $Response  |  Where-Object  { $_.tag_name   -eq  $Version  }
74+ 
75+ $release  =  $Response  |  Where-Object  {
76+     Write-Output  " Checking release: $ ( $_.tag_name  ) " 
77+     $_.tag_name   -eq  $Version 
78+ }
7579
7680Write-Output  " Filtered Release" 
7781Write-Output  $release 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments