mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-11 09:29:55 +01:00
Update upgrade.sh
Allow the uplift of jails to test BETA and RC branches before release
This commit is contained in:
@@ -89,7 +89,7 @@ jail_check() {
|
|||||||
|
|
||||||
release_check() {
|
release_check() {
|
||||||
# Validate the release
|
# 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."
|
error_exit "${NEWRELEASE} is not a valid release."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user