Skip to content

Commit 215229c

Browse files
fazibearJosé Valim
authored andcommitted
Make release's boot scripts deterministic (#9387)
1 parent 1ea0924 commit 215229c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/mix/lib/mix/release.ex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,12 @@ defmodule Mix.Release do
318318

319319
defp build_start_boot(all_apps, specified_apps) do
320320
specified_apps ++
321-
for(
322-
{app, props} <- all_apps,
323-
not List.keymember?(specified_apps, app, 0),
324-
do: {app, default_mode(props)}
321+
Enum.sort(
322+
for(
323+
{app, props} <- all_apps,
324+
not List.keymember?(specified_apps, app, 0),
325+
do: {app, default_mode(props)}
326+
)
325327
)
326328
end
327329

0 commit comments

Comments
 (0)