From 116575386d91b414e13efeb4d1a0614e3bdb39c4 Mon Sep 17 00:00:00 2001 From: Scott Chacon Date: Sun, 16 Jul 2023 12:16:45 +0200 Subject: [PATCH] just default to patch bump --- scripts/next.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/next.sh b/scripts/next.sh index ef9b09b48..d28441fb4 100755 --- a/scripts/next.sh +++ b/scripts/next.sh @@ -45,13 +45,10 @@ minor) PATCH="0" echo "$MAJOR.$MINOR.$PATCH" ;; -patch) +*) MAJOR="$(echo "$VERSION" | cut -d. -f1)" MINOR="$(echo "$VERSION" | cut -d. -f2)" PATCH="$(($(echo "$VERSION" | cut -d. -f3) + 1))" echo "$MAJOR.$MINOR.$PATCH" ;; -*) - error "invalid bump type: $BUMP" - ;; esac