{"id":13507807,"url":"https://github.com/miros/exreleasy","last_synced_at":"2026-03-15T17:56:05.977Z","repository":{"id":62429408,"uuid":"75945600","full_name":"miros/exreleasy","owner":"miros","description":"⛔️ DEPRECATED A very simple tool for releasing elixir applications","archived":false,"fork":false,"pushed_at":"2019-07-01T09:42:50.000Z","size":60,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T07:33:18.329Z","etag":null,"topics":["deprecated"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-08T14:37:47.000Z","updated_at":"2023-09-06T17:45:08.000Z","dependencies_parsed_at":"2022-11-01T20:04:14.196Z","dependency_job_id":null,"html_url":"https://github.com/miros/exreleasy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miros%2Fexreleasy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miros%2Fexreleasy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miros%2Fexreleasy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miros%2Fexreleasy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miros","download_url":"https://codeload.github.com/miros/exreleasy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deprecated"],"created_at":"2024-08-01T02:00:39.558Z","updated_at":"2025-10-21T14:52:06.193Z","avatar_url":"https://github.com/miros.png","language":"Elixir","funding_links":[],"categories":["Deployment"],"sub_categories":[],"readme":"# ⛔️ DEPRECATED\n\nThis tool is deprecated. Please, use native mix releases (added in elixir 1.9.0) https://hexdocs.pm/mix/Mix.Tasks.Release.html\n\n# Exreleasy\n\nA minimal tool for releasing (packaging and hot updating) Elixir applications.\n\nStandard Erlang/Elixir release tools generally attempt to generate a self contained package which contains bootup scripts, VM  arguments, shell scripts for launching nodes in the system, appup files, etc.\n\nTo the contrary, `exreleasy` tries to untie developer's hands and decouple release activities.\n\nThis tool allows to *separately*:\n* bundle an application and Erlang/Elixir with a single `mix` command and create wrapper scripts for running `mix`/`iex`;\n* generate a draft for an appup file for migrating from any existing release to another one;\n* perfom a hot code reload for a running node.\n\nThis is often required nowadays when we have special tools for each task, for example:\n* deliver application code with Ansible, SaltStack or some other orchestration tool;\n* launch nodes with Systemd generating units with an orchestration tool;\n* perform maintenance tasks like running migrations or code reload with an orchestration tool.\n\nCredit for the idea goes to [savonarola](https://github.com/savonarola).\n\n## Installation\n\n  1. Add `exreleasy` to your list of dependencies in `mix.exs`:\n\n  ```elixir\n  def deps do\n    [{:exreleasy, \"~\u003e 0.4.0\"}]\n  end\n  ```\n\n## Usage\n\n### To bundle Erlang/Elixir inside your project:\n\n    mix exreleasy.localize\n\nThis will create `./release` directory with Erlang/Elixir and wrapper scripts:\n\n    ./release/binstubs/mix\n    ./release/binstubs/iex\n    ./release/binstubs/iex_mix\n    ./release/binstubs/erl\n    ./release/binstubs/elixir\n\n### To make a release:\n\n    mix exreleasy.release v0.0.1\n\nThis will create `./release/archive/v0.0.1.tar.gz` archive with your project (including `./release` directory)\n\n### To hot reload your code:\n\n* Step 1\n\nGenerate appup file for all applications of your project.\n\n    mix exreleasy.create_appup --old-release ./release/archive/v0.0.1.tar.gz --new-release ./release/archive/v0.0.2.tar.gz --appup ./appup_1_to_2\n\nAlternatively use `release/exreleasy.json` from old release (fetch it from production maybe)\n\n    mix exreleasy.create_appup --old-release /path/to/old/manifest.json --new-release ./release/archive/v0.0.2.tar.gz --appup ./appup_1_to_2\n\n* Step 2\n\nEdit appup file to include only modules you want to touch\nAvailable instructions - http://erlang.org/doc/man/appup.html\n\n    vim ./appup_1_to_2\n\n* Step 3\n\nApply appup file to release (creates individual appup files in ebin directories)\n\n    mix exreleasy.apply_appup --release ./release/archive/v0.0.2.tar.gz --appup ./appup_1_to_2\n\nAlternatively Steps 1-3 can be automated using provided script\n\n    ./deps/exreleasy/priv/prepare_hot_release prod /path/to/old/release.tar.gz /path/to/new/release.tar.gz\n\n* Step 4\n\nDeploy new code to server\n\n* Step 5\n\nReload code\n\n    env MIX_ENV=prod ./release/binstubs/mix exreleasy.hot_reload --node your_node@your_host --cookie your_cookie --new-path path_to_new_code --reload-configs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiros%2Fexreleasy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiros%2Fexreleasy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiros%2Fexreleasy/lists"}