forked from Kraigie/nostrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappup.ex
35 lines (35 loc) · 775 Bytes
/
appup.ex
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
29
30
31
32
33
34
35
# See the appup cookbook for instructions:
# https://www.erlang.org/doc/design_principles/appup_cookbook.html
{
~c"0.10.0",
[
# Upgrade instructions
{~c"0.9.1", []},
{~c"0.9.0", []},
{~c"0.9.0-rc1", []},
{~c"0.9.0-alpha3", []},
{~c"0.9.0-alpha2", []},
{~c"0.9.0-alpha1",
[
# Top shard supervisor was not registered, so could not restart shard
# supervisor to load new gateway logic
{:restart_application, :nostrum}
]},
{~c"0.8.0",
[
{:restart_application, :nostrum}
]}
],
[
# Downgrade instructions
{~c"0.9.0-alpha2", []},
{~c"0.9.0-alpha1",
[
{:restart_application, :nostrum}
]},
{~c"0.8.0",
[
{:restart_application, :nostrum}
]}
]
}