Skip to content

Commit

Permalink
Merge pull request #353 from tsloughter/unchain
Browse files Browse the repository at this point in the history
no longer run release before tar or relup, the user must call it
  • Loading branch information
jwilberding committed Jun 26, 2015
2 parents de9a40a + 1aa945c commit 0e1880f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/relx.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application,relx,
[{description,"Release assembler for Erlang/OTP Releases"},
{vsn,"2.1.1"},
{vsn,"3.0.0"},
{modules,[]},
{registered,[]},
{applications,[kernel,stdlib,getopt,erlware_commons,bbmustache,
Expand Down
2 changes: 1 addition & 1 deletion src/rlx_prv_archive.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
-include("relx.hrl").

-define(PROVIDER, tar).
-define(DEPS, [release]).
-define(DEPS, [resolve_release]).

%%============================================================================
%% API
Expand Down
2 changes: 1 addition & 1 deletion src/rlx_prv_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
-include("relx.hrl").

-define(PROVIDER, resolve_release).
-define(DEPS, [app_discover]).
-define(DEPS, [rel_discover]).

%%============================================================================
%% API
Expand Down
2 changes: 1 addition & 1 deletion src/rlx_prv_relup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
-include("relx.hrl").

-define(PROVIDER, relup).
-define(DEPS, [rel_discover, release]).
-define(DEPS, [resolve_release]).

%%============================================================================
%% API
Expand Down
4 changes: 2 additions & 2 deletions test/rlx_discover_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@ get_bad_app_metadata(Name, Vsn) ->


create_random_name(Name) ->
random:seed(erlang:now()),
random:seed(os:timestamp()),
Name ++ erlang:integer_to_list(random:uniform(1000000)).

create_random_vsn() ->
random:seed(erlang:now()),
random:seed(os:timestamp()),
lists:flatten([erlang:integer_to_list(random:uniform(100)),
".", erlang:integer_to_list(random:uniform(100)),
".", erlang:integer_to_list(random:uniform(100))]).
4 changes: 2 additions & 2 deletions test/rlx_test_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ get_app_metadata(Name, Vsn, Deps, LibDeps) ->
{applications, Deps}]}.

create_random_name(Name) ->
random:seed(erlang:now()),
random:seed(os:timestamp()),
Name ++ erlang:integer_to_list(random:uniform(1000000)).

create_random_vsn() ->
random:seed(erlang:now()),
random:seed(os:timestamp()),
lists:flatten([erlang:integer_to_list(random:uniform(100)),
".", erlang:integer_to_list(random:uniform(100)),
".", erlang:integer_to_list(random:uniform(100))]).
Expand Down

0 comments on commit 0e1880f

Please sign in to comment.