Closed safwanolaimat closed 6 years ago
@safwanolaimat Your steps to reproduce appear to have an error:
First, you create an umbrella, then cd
into apps/test
to run mix release.init
. Then you run mkdir apps/test/priv
, but this means the full path you just created (relative to the umbrella root) is apps/test/apps/test/priv
, which naturally means that you haven't actually created the priv
directory, but another apps
directory, which would not be included in the release (without an overlay).
You need (and probably meant) to run cd ../..
after running mix release.init
. Also your touch
command is missing the priv
path, and only creates example.txt
in the root of the test
app.
check now
@safwanolaimat You still have an issue, touch apps/test/example.txt
is not in priv
, so example.txt
will naturally not end up in the release. I assume you intended to put touch apps/test/priv/example.txt
@bitwalker yes that what i want to do sorry
Steps to reproduce
Verbose Logs
Paste the output of the release command you ran with the
--verbose
flag below in the summary tags (this helps keep the issue easy to navigate):Description of issue
Built with: Elixir 1.6.6 and OTP 19.3
rel/config.exs
, as it is often my first troubleshooting question, and you'll save us both time :)use Mix.Releases.Config, default_release: :default, default_environment: Mix.env()
environment :dev do set dev_mode: true set includeerts: false set cookie: :"8IPZZ0.{:t{M4)y|Dg]2guW_}W(6HD7I}cn&0T[dX@^?<bQ[g`bj%m7q?;I8Mm2" end
environment :prod do set include_erts: true set include_src: false set cookie: :"%Ntfs;uV!3.pWu/@|!99K5apymj;T%ob38HOyog:S.(c6hEs~_GLo}JJ,O9oS7[9" end
release :test do set version: "0.1.0" set applications: [ :runtime_tools, queue: :permanent ] end