Skip to content

Commit

Permalink
Fix OTP 25 Issue Causing Builds to Fail.
Browse files Browse the repository at this point in the history
This comes from here:

bitwalker#744

  ,--^----------,--------,-----,-------^--,
  | |||||||||   `--------'     |          O
  `+---------------------------^----------|
    `\_,-------, _________________________|
      / XXXXXX /`|     /
     / XXXXXX /  `\   /
    / XXXXXX /\______(
   / XXXXXX /
  / XXXXXX /
 (________(
  `------'                 Steven Paul Adams
  • Loading branch information
tres committed Oct 23, 2022
1 parent b7805d2 commit c500096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/distillery/releases/assembler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c500096

Please sign in to comment.