Skip to content

Commit

Permalink
Update start-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
felipepasc authored Jul 10, 2024
1 parent 6fb348d commit 7faba0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/start-utils
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7faba0a

Please sign in to comment.