feat: enable upgrading release from 4.4.X to 4.5.Y
When upgrading from 4.4.X, the `install_upgrade` script from 4.4.X is used, which forbids such transition.
This commit is contained in:
parent
7b887078c7
commit
efef052ec7
|
@ -437,6 +437,8 @@ validate_target_version(TargetVersion, TargetNode) ->
|
||||||
CurrentVersion = current_release_version(TargetNode),
|
CurrentVersion = current_release_version(TargetNode),
|
||||||
case {get_major_minor_vsn(CurrentVersion), get_major_minor_vsn(TargetVersion)} of
|
case {get_major_minor_vsn(CurrentVersion), get_major_minor_vsn(TargetVersion)} of
|
||||||
{{Major, Minor}, {Major, Minor}} -> ok;
|
{{Major, Minor}, {Major, Minor}} -> ok;
|
||||||
|
{{<<"4">>, <<"5">>}, {<<"4">>, <<"4">>}} -> ok;
|
||||||
|
{{<<"4">>, <<"4">>}, {<<"4">>, <<"5">>}} -> ok;
|
||||||
_ ->
|
_ ->
|
||||||
?INFO("Cannot upgrade/downgrade to ~s from ~s~n"
|
?INFO("Cannot upgrade/downgrade to ~s from ~s~n"
|
||||||
"We only support relup between patch versions",
|
"We only support relup between patch versions",
|
||||||
|
|
Loading…
Reference in New Issue