From 7faba0abf83e99acb341ef41e99b0c0e5ebeac80 Mon Sep 17 00:00:00 2001 From: Felipe Paschoal Bergamo <64669985+felipepasc@users.noreply.github.com> Date: Wed, 10 Jul 2024 00:32:40 -0300 Subject: [PATCH] Update start-utils --- scripts/start-utils | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/start-utils b/scripts/start-utils index 2a8a2138f09..fdfb39a996f 100755 --- a/scripts/start-utils +++ b/scripts/start-utils @@ -176,6 +176,16 @@ function compare_version() { return 1 fi + # Handle version channels ('a', 'b', or numeric) + if [[ $left_version == a* || $left_version == b* ]]; then + left_version=${left_version:1} + fi + + if [[ $right_version == a* || $right_version == b* ]]; then + right_version=${right_version:1} + fi + + local left_version_channel=${left_version:0:1} if [[ $left_version_channel =~ [0-9] ]]; then left_version_channel='r'