Potato v0.1.2 mix potato.full View Source

Prepare a full release.

Command line options

None

Notes

This task produces a full tar file from a previously run release task, but adds a shell script, preboot.sh to the releases folder. The task itself expects that mix release has already been run, e.g.

MIX_ENV=prod mix do release, potato.full

preboot.sh enables the system to be downgraded to its original installed state, and should be run before the system is fully booted for the first time, e.g

tar xzf myrel-1.0.0.tar.gz
sh myrel/release/1.0.0/preboot.sh