Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre_configure.sh missing - mix release fails with distillery v1.4.1 #143

Open
janispauls opened this issue Nov 8, 2017 · 0 comments
Open

Comments

@janispauls
Copy link

janispauls commented Nov 8, 2017

$ mix release
==> Assembling release..
==> Building release conform_demo:0.1.0 using environment dev
==> Overlay failed, no such file or directory:
    file: _build/dev/lib/conform/priv/bin/pre_configure.sh
    overlay: {:copy, "/Users/jpauls/elixir/conform_demo/_build/dev/lib/conform/priv/bin/pre_configure.sh", "releases/<%= release_version %>/hooks/pre_configure.d/00_conform_pre_configure.sh"}
$ cat mix.lock
%{"conform": {:hex, :conform, "2.5.2", "7035787a9c09d28607745444e7a1700426dc47c452634a5694033fa2fbb3414c", [], [{:neotoma, "~> 1.7.3", [hex: :neotoma, repo: "hexpm", optional: false]}], "hexpm"},
  "distillery": {:hex, :distillery, "1.4.1", "546d851bf27ae8fe0727e10e4fc4e146ad836eecee138263a60431e688044ed3", [], [], "hexpm"},
  "neotoma": {:hex, :neotoma, "1.7.3", "d8bd5404b73273989946e4f4f6d529e5c2088f5fa1ca790b4dbe81f4be408e61", [], [], "hexpm"}}

After upgrading distillery to 1.5.x it works fine. I will probably upgrade to 1.5.x, just wanted to let You know the issue exists since it looks like it's supposed to work:

if_distillery :lt, "1.5.0", do: "pre_configure", else: "post_configure"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant