♻ Use autoupdate name consistently across all scripts

Refs: #8
This commit is contained in:
Marcel Kapfer 2023-07-19 23:40:08 +02:00
parent 76e7de6d53
commit 618ed2bb5c
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -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