From aa688f7072ef555ece512934d3a3d193d3ed6f1c Mon Sep 17 00:00:00 2001 From: Jason Tubnor <9423111+tub5ta@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:44:28 +1000 Subject: [PATCH] Update upgrade.sh Allow the uplift of jails to test BETA and RC branches before release --- usr/local/share/bastille/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/upgrade.sh b/usr/local/share/bastille/upgrade.sh index 030c779c..225ff170 100644 --- a/usr/local/share/bastille/upgrade.sh +++ b/usr/local/share/bastille/upgrade.sh @@ -89,7 +89,7 @@ jail_check() { release_check() { # Validate the release - if ! echo "${NEWRELEASE}" | grep -q "[0-9]\{2\}.[0-9]-RELEASE"; then + if ! echo "${NEWRELEASE}" | grep -q "[0-9]\{2\}.[0-9]-[RELEASE,BETA,RC]"; then error_exit "${NEWRELEASE} is not a valid release." fi }