From dcdf588b5ae1bd5a03e221b43e2dae3054cda87f Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Mon, 21 Jan 2013 20:25:11 -0800 Subject: [PATCH] Bump version number, add upgrade scripts --- bot.rel | 4 ++-- irc/irc.app | 2 +- irc/irc.appup | 14 +++++++++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/bot.rel b/bot.rel index 7eb47d2..097dbea 100644 --- a/bot.rel +++ b/bot.rel @@ -1,4 +1,4 @@ -{release, {"erlbot", "8"}, +{release, {"erlbot", "9"}, {erts, "5.8.3"}, [{kernel, "2.14.5"}, {stdlib, "1.17.5"}, @@ -7,5 +7,5 @@ {amqp_client, "0.0.0"}, {core, "2"}, {amqp, "1"}, - {irc, "7"}] + {irc, "8"}] }. diff --git a/irc/irc.app b/irc/irc.app index 816571f..9dbec0b 100644 --- a/irc/irc.app +++ b/irc/irc.app @@ -1,6 +1,6 @@ {application, irc, [{description, "IRC protocol application"}, - {vsn, "7"}, + {vsn, "8"}, {modules, [irc_util, irc_app, irc_sup, irc_net_sup, irc_conn, irc_object_sup, irc_amqp_listener, irc_command]}, {registered, [irc_sup, irc_dummy]}, diff --git a/irc/irc.appup b/irc/irc.appup index 8fa9f5c..5bb871b 100644 --- a/irc/irc.appup +++ b/irc/irc.appup @@ -1,4 +1,12 @@ -{"7", - [], - [] +{"8", + [{"7", + [{update, irc_amqp_listener}, + {update, irc_command}, + {update, irc_conn, [irc_amqp_listener, irc_command]} + ]}], + [{"7", + [{update, irc_conn, [irc_amqp_listener, irc_command]}, + {update, irc_command}, + {update, irc_amqp_listener} + ]}] }. -- 2.11.0