1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
%% -*- erlang -*-
%% Release upgrade script for fe (front end)
%%
{
"3.1",
%% Upgrade from:
[
{<<"2\\.[0-9]+">>, % matches 2.X in full length and 2.X.Y... only partly
[{update, fe1, soft, soft_purge, soft_purge, []},
{update, fe2, soft, soft_purge, soft_purge, [fe1]},
{update, fe3, {advanced, extra}, soft_purge, soft_purge, [fe1, fe2]}
]},
{<<"2(\\.[0-9]+)+">>, % matches 2.X.Y... in full length
[{update, fe1, soft, soft_purge, soft_purge, []},
{update, fe2, soft, soft_purge, soft_purge, [fe1]},
{update, fe3, {advanced, extra}, soft_purge, soft_purge,[fe1, fe2]},
restart_emulator]}
],
%% Downgrade to:
[
{<<"2\\.[0-9]+">>, % matches 2.X in full length and 2.X.Y... only partly
[{update, fe2, soft, soft_purge, soft_purge, []},
{update, fe3, {advanced, extra}, soft_purge, soft_purge, [fe2]}
]}
]
}.
|