Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/mix/lib/releases/plugins/plugin.ex
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ defmodule Mix.Releases.Plugin do
Run the `c:after_cleanup/2` callback of all plugins of `release`.
"""
@spec after_cleanup(Release.t(), [String.t()]) :: :ok | {:error, term}
def after_cleanup(release, args), do: run(release.profile.plugins, :after_package, args)
def after_cleanup(release, args), do: run(release.profile.plugins, :after_cleanup, args)

@spec call(atom(), Release.t()) :: {:ok, term} | {:error, {:plugin, term}}
defp call(callback, release) do
Expand Down