Skip to content

Commit 650c907

Browse files
Fix ambiguity in 'mix release' docs (#12596)
1 parent ecdf684 commit 650c907

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/mix/lib/mix/tasks/release.ex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ defmodule Mix.Tasks.Release do
3838
3939
If the given name does not exist, an error is raised.
4040
41-
If `mix release`, without a name, is invoked and there are multiple names,
42-
an error will be raised unless you set `default_release: NAME` at the root
43-
of your project configuration.
41+
If `mix release` is invoked, without specifying a release name, and
42+
there are multiple releases configured, an error will be raised
43+
unless you set `default_release: NAME` at the root of your project
44+
configuration.
4445
45-
If `mix release` is invoked and there are no names, a release using the
46-
application name and default values is assembled.
46+
If `mix release` is invoked and there are no releases configured, a
47+
release is assembled using the application name and default values.
4748
4849
## Why releases?
4950

0 commit comments

Comments
 (0)