distillery v2.1.1 Distillery.Releases.Archiver View Source

This module is responsible for packaging a release into a tarball.

Link to this section Summary

Functions

Given an assembled release, and the Release struct representing it, this function will package up the release into a tar.gz file.

Link to this section Functions

Link to this function

archive(release) View Source
archive(Distillery.Releases.Release.t()) :: {:ok, String.t()} | {:error, term()}

Given an assembled release, and the Release struct representing it, this function will package up the release into a tar.gz file.

It returns {:ok, "path/to/tarball"}, or {:error, reason}