File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -491,11 +491,11 @@ function get_channel_a_and_version_a() {
491
491
local -n gcaava_version_a_ref=" ${gcaava_version_a_varname} "
492
492
local major_a major_b channel version
493
493
494
- major_a=$( echo " $ {new_channel_prev_version} " | cut -d . -f 1 )
495
- major_b=$( echo " $ {new_channel_new_version} " | cut -d . -f 1 )
494
+ major_a=${new_channel_prev_version%% . * }
495
+ major_b=${new_channel_new_version%% . * }
496
496
# When the major version for the new channel is different, a transition has happened and we can find the previous release in the old channel
497
- if [ " ${major_a} " != " ${major_b} " ]; then
498
- case " ${new_channel} " in
497
+ if [[ ${major_a} != " ${major_b} " ] ]; then
498
+ case ${new_channel} in
499
499
lts)
500
500
channel=stable
501
501
;;
You can’t perform that action at this time.
0 commit comments