From 618ed2bb5cf8628c667ffaabdc031f68084da51d Mon Sep 17 00:00:00 2001 From: autoupdate Date: Wed, 19 Jul 2023 23:40:08 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20Use=20autoupdate=20name=20consisten?= =?UTF-8?q?tly=20across=20all=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: #8 --- update-new-version.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update-new-version.sh b/update-new-version.sh index bbba768..3ae1f9b 100755 --- a/update-new-version.sh +++ b/update-new-version.sh @@ -21,10 +21,10 @@ old="${last_tag#?}" if [ "$1" = "--autoupdate" ]; then new="$2" - autogit="y" + autoupdate="y" else new="$1" - autogit="n" + autoupdate="n" fi name="$(git config --get user.name)" @@ -52,7 +52,7 @@ cd .. rm "$PACKAGE"_"$old"-* -if [ "$autogit" = "n" ]; then +if [ "$autoupdate" = "n" ]; then exit fi