distillery v1.5.5 Mix.Releases.Release
Represents metadata about a release
Link to this section Summary
Functions
Get the path at which the release tarball will be output
Load a fully configured Release object given a release name and environment name
Returns a list of all code_paths of all appliactions included in the release
Creates a new Release with the given name, version, and applications
Link to this section Types
Link to this type
t()
t() :: %Mix.Releases.Release{applications: [atom | {atom, Mix.Releases.App.start_type} | Mix.Releases.App.t], is_upgrade: boolean, name: atom, output_dir: term, profile: Mix.Releases.Profile.t, resolved_overlays: [Mix.Releases.Overlays.overlay], upgrade_from: nil | String.t, version: String.t}
Link to this section Functions
Get the path at which the release tarball will be output
Link to this function
get(name, env \\ :default, opts \\ [])
get(atom, atom, Keyword.t) :: {:ok, Mix.Releases.Release.t} | {:error, term}
Load a fully configured Release object given a release name and environment name.
Returns a list of all code_paths of all appliactions included in the release
Link to this function
new(name, version, apps \\ [])
new(atom, String.t, [atom]) :: Mix.Releases.Release.t
Creates a new Release with the given name, version, and applications.