From 5bcc3d326f8bbbeb7a452bc32ea8b23404068142 Mon Sep 17 00:00:00 2001 From: Garritt McCune Date: Thu, 19 Mar 2020 16:55:03 -0500 Subject: [PATCH] Updated and renamed the build number script to better reflect its purpose since resetting build numbers is now part of it tasks. --- inc_or_dec_build_numbers.sh => handle_build_numbers.sh | 4 ++++ 1 file changed, 4 insertions(+) rename inc_or_dec_build_numbers.sh => handle_build_numbers.sh (95%) diff --git a/inc_or_dec_build_numbers.sh b/handle_build_numbers.sh similarity index 95% rename from inc_or_dec_build_numbers.sh rename to handle_build_numbers.sh index a560d5a..2a3fccf 100644 --- a/inc_or_dec_build_numbers.sh +++ b/handle_build_numbers.sh @@ -49,6 +49,10 @@ while IFS=' ' read -ra line; do then echo "Incrementing meta build number." meta=$(($i + 1)) + elif [ "$2" == "reset" ] + then + echo "Resetting meta build number." + meta=0 else if [ "$i" -gt 0 ] then