From 7ab3f328a84428f1ad93bf2766d81661d39c6ea2 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 1 Oct 2025 22:08:54 +0200 Subject: [PATCH] fix(ci): read -p is undefined --- .gitea/scripts/update-changelog.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/scripts/update-changelog.sh b/.gitea/scripts/update-changelog.sh index 1dc857b..c739382 100755 --- a/.gitea/scripts/update-changelog.sh +++ b/.gitea/scripts/update-changelog.sh @@ -5,7 +5,7 @@ DEFAULT_GITEA_REPOSITORY="${GITHUB_REPOSITORY:-"gitea/helm-gitea"}" DEFAULT_GITEA_TOKEN="${ISSUE_RW_TOKEN:-""}" if [ -z "${1}" ]; then - read -p "Enter hostname of the Gitea instance [${DEFAULT_GITEA_SERVER_URL}]: " CURRENT_GITEA_SERVER_URL + read "Enter hostname of the Gitea instance [${DEFAULT_GITEA_SERVER_URL}]: " CURRENT_GITEA_SERVER_URL if [ -z "${CURRENT_GITEA_SERVER_URL}" ]; then CURRENT_GITEA_SERVER_URL="${DEFAULT_GITEA_SERVER_URL}" fi @@ -14,7 +14,7 @@ else fi if [ -z "${2}" ]; then - read -p "Enter name of the git repository [${DEFAULT_GITEA_REPOSITORY}]: " CURRENT_GITEA_REPOSITORY + read "Enter name of the git repository [${DEFAULT_GITEA_REPOSITORY}]: " CURRENT_GITEA_REPOSITORY if [ -z "${CURRENT_GITEA_REPOSITORY}" ]; then CURRENT_GITEA_REPOSITORY="${DEFAULT_GITEA_REPOSITORY}" fi @@ -23,7 +23,7 @@ else fi if [ -z "${3}" ]; then - read -p "Enter token to access the Gitea instance [${DEFAULT_GITEA_TOKEN}]: " CURRENT_GITEA_TOKEN + read "Enter token to access the Gitea instance [${DEFAULT_GITEA_TOKEN}]: " CURRENT_GITEA_TOKEN if [ -z "${CURRENT_GITEA_TOKEN}" ]; then CURRENT_GITEA_TOKEN="${DEFAULT_GITEA_TOKEN}" fi