From 13ab514f4e23dec5d974881a213b304f827967ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rgen?= Date: Wed, 21 Mar 2018 18:42:43 +0100 Subject: [PATCH] Increase version tag to 0.1.4 and make application output version on start --- README.md | 6 +++--- priv/default_client.erl | 2 +- priv/default_worker.erl | 2 +- src/cre.app.src | 2 +- src/cre.erl | 6 +++++- src/cre_client.erl | 2 +- src/cre_master.erl | 2 +- src/cre_sup.erl | 2 +- src/cre_worker.erl | 2 +- test/cre_test.erl | 2 +- test/logic_client.erl | 2 +- test/logic_worker.erl | 2 +- 12 files changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c843f15..6566994 100644 --- a/README.md +++ b/README.md @@ -48,17 +48,17 @@ Although the CRE library can be imported also directly from GitHub, we recommend #### rebar3 -To integrate the CRE into a rebar3 managed project change the `deps` entry in your application's `rebar.config` file to include the tuple `{cre, "0.1.3"}`. +To integrate the CRE into a rebar3 managed project change the `deps` entry in your application's `rebar.config` file to include the tuple `{cre, "0.1.4"}`. ```erlang -{deps, [{cre, "0.1.3"}]}. +{deps, [{cre, "0.1.4"}]}. ``` #### mix ```elixir -{:cre, "~> 0.1.3"} +{:cre, "~> 0.1.4"} ``` ### Starting the CRE diff --git a/priv/default_client.erl b/priv/default_client.erl index 47ff1e2..e9d506f 100644 --- a/priv/default_client.erl +++ b/priv/default_client.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/priv/default_worker.erl b/priv/default_worker.erl index 8fe9b98..cd62c21 100644 --- a/priv/default_worker.erl +++ b/priv/default_worker.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/src/cre.app.src b/src/cre.app.src index 2891406..f087c90 100644 --- a/src/cre.app.src +++ b/src/cre.app.src @@ -1,6 +1,6 @@ {application, cre, [{description, "A common runtime environment (CRE) for distributed workflow languages."}, - {vsn, "0.1.3"}, + {vsn, "0.1.4"}, {mod, {cre, []}}, {registered, [cre]}, {applications, [ diff --git a/src/cre.erl b/src/cre.erl index d3f5c53..ee8f0d7 100644 --- a/src/cre.erl +++ b/src/cre.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% @@ -40,6 +40,9 @@ -export( [start/2, stop/1] ). -export( [main/1] ). + +-define( ?VSN, "0.1.4" ). + %%==================================================================== %% API functions %%==================================================================== @@ -68,6 +71,7 @@ start( _Type, _Args ) -> error_logger:info_report( [{info, "starting common runtime environment"}, {application, cre}, + {vsn, ?VSN}, {node, node()}] ), cre_sup:start_link(). diff --git a/src/cre_client.erl b/src/cre_client.erl index ca2c519..66422a9 100644 --- a/src/cre_client.erl +++ b/src/cre_client.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/src/cre_master.erl b/src/cre_master.erl index 6211052..85c5b1e 100644 --- a/src/cre_master.erl +++ b/src/cre_master.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% @doc A module implementing the behavior of the common runtime environment diff --git a/src/cre_sup.erl b/src/cre_sup.erl index 5bb2d7e..cebbbab 100644 --- a/src/cre_sup.erl +++ b/src/cre_sup.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/src/cre_worker.erl b/src/cre_worker.erl index 86f4b79..6de6ef9 100644 --- a/src/cre_worker.erl +++ b/src/cre_worker.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/test/cre_test.erl b/test/cre_test.erl index 6545709..1174095 100644 --- a/test/cre_test.erl +++ b/test/cre_test.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/test/logic_client.erl b/test/logic_client.erl index e9776cf..ea2bed2 100644 --- a/test/logic_client.erl +++ b/test/logic_client.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %% diff --git a/test/logic_worker.erl b/test/logic_worker.erl index 2d94c78..7518948 100644 --- a/test/logic_worker.erl +++ b/test/logic_worker.erl @@ -18,7 +18,7 @@ %% %% ------------------------------------------------------------------- %% @author Jörgen Brandt -%% @version 0.1.3 +%% @version 0.1.4 %% @copyright 2015-2018 Jörgen Brandt %% %%