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
Just a brief list of the steps required to produce the issue.
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):
Generated phoenix_distillery app
==> Assembling release..
==> Building release phoenix_distillery:0.1.0 using environment prod
==> Including ERTS 13.1.4 from /opt/homebrew/Cellar/erlang/25.2.2/lib/erlang/erts-13.1.4
==> Release failed: no match of right hand side value: {:error, :eacces}
The text was updated successfully, but these errors were encountered:
Same problem here, did you manage to resolve it? I turned on Verbose logging and no more useful hints I can see. Release on it's own seems to work fine.
fix error: Release failed: no match of right hand side value: {:error, :eacces}
--- a/lib/distillery/releases/assembler.ex
+++ b/lib/distillery/releases/assembler.ex
@@ -860,7 +860,7 @@ defmodule Distillery.Releases.Assembler do
# no work around for this
old_cwd = File.cwd!()
File.cd!(output_dir)
- :ok = :release_handler.create_RELEASES('./', 'releases', '#{relfile}', [])
+ :ok = :release_handler.create_RELEASES(File.cwd!(), Path.join([File.cwd!(), 'releases']), '#{relfile}', [])
File.cd!(old_cwd)
:ok
end
and it works for me (dont forget remove _build folder after fixes)
montebrown
added a commit
to montebrown/distillery
that referenced
this issue
Jul 2, 2023
For OTP 25 distillery was failing at the 'archive' step with:
==> Failed to archive release: _build/prod/rel/osnap/releases/RELEASES: no such file or directory
See bitwalker#749
Steps to reproduce
Just a brief list of the steps required to produce the issue.
Verbose Logs
Paste the output of the release command you ran with the
--verbose
flagbelow in the summary tags (this helps keep the issue easy to navigate):
The text was updated successfully, but these errors were encountered: