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