🔨 (tools): Fuerza pulsar intro para confirmar input

This commit is contained in:
Manuel Cillero 2025-09-20 13:43:36 +02:00
parent e4a9a72fa7
commit 6fac597a16

View file

@ -88,12 +88,12 @@ git-cliff --unreleased "${COMMON_ARGS[@]}"
echo "CHANGELOG generated at '$CHANGELOG_FILE'"
# Pregunta por la revisión del archivo de cambios generado
read -p "Do you want to review the changelog before continuing? (y/n) " -n 1 -r || exit 1
read -p "Do you want to review the changelog before continuing? (y/n) " -r || exit 1
echo
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
${EDITOR:-nano} "$CHANGELOG_FILE"
fi
read -p "Do you want to proceed with the release of $CRATE? (y/n) " -n 1 -r || exit 1
read -p "Do you want to proceed with the release of $CRATE? (y/n) " -r || exit 1
echo
if [[ ! "$REPLY" =~ ^[Yy]$ ]]; then
echo "Aborting release process." >&2