fix(scripts): adapt script parameter list
Some checks failed
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 16s
Release / publish-chart (push) Failing after 14s

This commit is contained in:
2025-06-03 21:28:40 +02:00
parent 6de5e9aa48
commit 01614570f7
2 changed files with 5 additions and 2 deletions

View File

@ -33,7 +33,7 @@ else
fi
fi
if [ -z "${1}" ]; then
if [ -z "${2}" ]; then
read -p "Enter end tag [${DEFAULT_NEW_TAG}]: " NEW_TAG
if [ -z "${NEW_TAG}" ]; then
NEW_TAG="${DEFAULT_NEW_TAG}"
@ -47,7 +47,7 @@ if [ -z "${1}" ]; then
fi
done
else
NEW_TAG=${1}
NEW_TAG=${2}
if [ -z "$(git tag --list "${NEW_TAG}")" ]; then
echo "ERROR: Tag '${NEW_TAG}' not found!"