🔨 [tools] Fuerza pulsar intro para confirmar input
This commit is contained in:
parent
81325e4010
commit
ce29fd82dd
1 changed files with 2 additions and 2 deletions
|
@ -88,12 +88,12 @@ git-cliff --unreleased "${COMMON_ARGS[@]}"
|
||||||
echo "CHANGELOG generated at '$CHANGELOG_FILE'"
|
echo "CHANGELOG generated at '$CHANGELOG_FILE'"
|
||||||
|
|
||||||
# Pregunta por la revisión del archivo de cambios generado
|
# 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
|
echo
|
||||||
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
|
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
|
||||||
${EDITOR:-nano} "$CHANGELOG_FILE"
|
${EDITOR:-nano} "$CHANGELOG_FILE"
|
||||||
fi
|
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
|
echo
|
||||||
if [[ ! "$REPLY" =~ ^[Yy]$ ]]; then
|
if [[ ! "$REPLY" =~ ^[Yy]$ ]]; then
|
||||||
echo "Aborting release process." >&2
|
echo "Aborting release process." >&2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue