You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==> Release failed: no match of right hand side value: {:error, :eacces}
(distillery 2.1.1) lib/distillery/releases/assembler.ex:865: Distillery.Releases.Assembler.create_RELEASES/2
(distillery 2.1.1) lib/distillery/releases/assembler.ex:290: Distillery.Releases.Assembler.write_release_scripts/1
(distillery 2.1.1) lib/distillery/releases/assembler.ex:50: Distillery.Releases.Assembler.assemble/1
(distillery 2.1.1) lib/distillery/tasks/release.ex:130: Mix.Tasks.Distillery.Release.do_release/2
(mix 1.13.4) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
(mix 1.13.4) lib/mix/cli.ex:84: Mix.CLI.run_task/2
(elixir 1.13.4) src/elixir_compiler.erl:73: :elixir_compiler.dispatch/4
(elixir 1.13.4) src/elixir_compiler.erl:58: :elixir_compiler.compile/3
Description of issue
I am getting :eacces error when I trigger mix distillery.release - at line number lib/distillery/releases/assembler.ex:863.
Because of this I am not able to create a release using distillary.
I updated config.ex using {:distillery, "~> 2.1", path: 'deps/distillery'}, and updated deps/distillery/releases/assembler.ex with values:
Looks like a duplicate of #744 (comment)
Making the change suggested in the code fixed the issue on local. It would be great if we can fix the issue in the library itself, it'll help with CI/CD.
Steps to reproduce
I was following the guide: https://hexdocs.pm/distillery/introduction/installation.html
Add deps
Verbose Logs
Verbose: https://gist.github.com/shivam-tripathi/a85a4431d9a943002b963a867413351a
Short:
Description of issue
I am getting :eacces error when I trigger
mix distillery.release
- at line numberlib/distillery/releases/assembler.ex:863
.Because of this I am not able to create a release using distillary.
I updated config.ex using
{:distillery, "~> 2.1", path: 'deps/distillery'}
, and updateddeps/distillery/releases/assembler.ex
with values:It prints the following:
I checked if the
_build
has write permission issues:This prints
WRITABLE
.The text was updated successfully, but these errors were encountered: