Upward.Releases (upward v0.0.6)
View SourceA utility module for managing releases.
Summary
Functions
Get the name of the running application.
Get the current version of the running application.
Install a release.
Make a release permanent.
Make a RELEASES file for a given version.
Get the next patch version (of the running application).
Get the previous installed patch version of the running application.
Get a list of all the releases along with their status.
Remove the RELEASES file (from the build directory) so it is not included with a patch release.
This is as part of a version install and assumes that the release tarball has been extracted into the release directory.
Functions
@spec app_name() :: atom()
Get the name of the running application.
@spec current_version() :: Version.t()
Get the current version of the running application.
Install a release.
This will ignore an already installed release.
Make a release permanent.
Make a RELEASES file for a given version.
This is only done for versions x.y.0 and creates a RELEASES file to be included with a release.
Get the next patch version (of the running application).
Get the previous installed patch version of the running application.
@spec releases() :: [ {Version.t(), status :: :unpacked | :current | :permanent | :old} ]
Get a list of all the releases along with their status.
Remove the RELEASES file (from the build directory) so it is not included with a patch release.
This is as part of a version install and assumes that the release tarball has been extracted into the release directory.