From da38994d60aab09731b27321ef0e6e77251ef817 Mon Sep 17 00:00:00 2001 From: Steve Nay <265958+snay2@users.noreply.github.com> Date: Tue, 8 Mar 2022 11:59:26 -0600 Subject: [PATCH 1/2] Fix release script prompt when calling from a golang program For some reason, `read -p` doesn't properly print to stdout when invoked through golang's `exec.Command().Run()`, but `echo` does. Reading from stdin still works correctly. --- scripts/prepare-for-release | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/prepare-for-release b/scripts/prepare-for-release index eff2787b..afeb5664 100755 --- a/scripts/prepare-for-release +++ b/scripts/prepare-for-release @@ -235,7 +235,8 @@ EOM # gh actions cannot respond to prompts if [[ $RELEASE_PREP == true ]]; then while true; do - read -p "🥑${BOLD}Do you wish to create the release prep PR? Enter y/n " yn + echo -e "🥑${BOLD}Do you wish to create the release prep PR? Enter y/n" + read -p "" yn case $yn in [Yy]* ) create_pr; break;; [Nn]* ) rollback; exit;; From 1a611bb151b10c928813a56f0ec94b4abca748c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ec2-bot=20=F0=9F=A4=96?= Date: Tue, 8 Mar 2022 11:59:55 -0600 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A5=91=F0=9F=A4=96=20v1.16.0=20releas?= =?UTF-8?q?e=20prep=20=F0=9F=A4=96=F0=9F=A5=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/helm/aws-node-termination-handler/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/helm/aws-node-termination-handler/Chart.yaml b/config/helm/aws-node-termination-handler/Chart.yaml index 9eb2acbf..8f59d4ff 100644 --- a/config/helm/aws-node-termination-handler/Chart.yaml +++ b/config/helm/aws-node-termination-handler/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aws-node-termination-handler description: A Helm chart for the AWS Node Termination Handler. type: application -version: 0.17.0 -appVersion: 1.15.0 +version: 0.18.0 +appVersion: 1.16.0 kubeVersion: ">= 1.16-0" keywords: - aws