Skip to content

Commit de21a85

Browse files
committed
Fix for version tag
1 parent eed6a8e commit de21a85

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = v1.108.0
1+
VERSION = v1.109.0
22
LATEST_RELEASE_TAG=$(shell git describe --tags --abbrev=0)
33
LATEST_COMMIT_HASH=$(shell git rev-parse HEAD)
44
LATEST_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:]')

scripts/upload-resources-to-github-windows.ps1

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

@@ -69,9 +69,13 @@ try {
6969
}
7070

7171
Write-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

7680
Write-Output "Filtered Release"
7781
Write-Output $release

0 commit comments

Comments
 (0)