Fix RELEASE_SYS_CONFIG for Windows 11
Module
mix release
49 changes across 21 versions
Changes by version
Make .app files deterministic in releases
Validate RELEASE_MODE and set ERRORLEVEL on .bat scripts
Fix invalid example in code comment inside the generated vm.args.eex
Include include/ directory in releases
Do not strip relevant chunks from Erlang/OTP 26
Properly handle optional dependencies when there is a conflict in the application start mode
Remove --werl from release scripts on Erlang/OTP 26
Allow passing additional arguments to the eval command
Fix Windows service when invoking erlsrv.exe in path with spaces
Make BEAM compression opt-in
Let :runtime_config_path accept false to skip the config/runtime.exs
Only set RELEASE_MODE after env.{sh,bat} are executed
Allow application mode configuration to cascade to dependencies
Allow bypassing application mode validation in release spec
Improve release scripts by making sure shell errors cascade (this is done by avoiding exporting and defining variables in a single step)
Do not boot release if RELEASE_COOKIE is empty
Allow releases running as a daemon to be restarted
Raise proper error message when non-serializable values are in configs
Add RELEASE_PROG to releases with the name of the executable starting the release
Support remote.vm.args to customize how the connecting VM boots
Improve compliance of release scripts with stripped down Linux installations
Preserve file mode when copying non-beam ebin files
Do not use private ram_file:compress/1
Enable overriding sys.config location via RELEASE_SYS_CONFIG env var
Boot a release under configuration in interactive mode and then swap to embedded mode (if running on Erlang/OTP 23+)
Add rel_templates_path to configure the source of template files such as "env.sh.eex", "vm.args.eex" and "overlays"
Allow some chunks to be kept in the :strip_beams config
Load .app from dependencies path when it is a project dependency
Always include "rel/overlays" in the list of overlays directories if available
Change erts/bin/erl binary mode to 0o755
config/releases.exs is deprecated in favor of a more general purpose config/runtime.exs
Properly encode config in releases
Respect the :path option when creating a :tar file for releases
Make sure the install command (Window specific) works on paths with spaces in the name
Allow using remote and rpc commands with Application.compile_env/3
Allow RELEASE_DISTRIBUTION to be set to none
Support overlays in rel/overlays
Allow configuration reboot to be disabled in releases
Add :tar option for releases to create a tarball
Use default_release option when name is not given
Make release's boot script contents deterministic
Allow {:from_app, app_name} as a version for releases
Use Base.encode32 when generating cookie to avoid unsafe chars
Fix install command on Windows
Quote executable path on Windows to ensure it works on directories with spaces
Support included applications
Preserve UTF8 encoding in release config files
Add support for releases