Rename function
authorkPherox <admin@mail.kr-kp.com>
Thu, 9 Apr 2020 23:19:41 +0000 (23:19 +0000)
committerkPherox <admin@mail.kr-kp.com>
Thu, 9 Apr 2020 23:19:41 +0000 (23:19 +0000)
mix.exs

diff --git a/mix.exs b/mix.exs
index ad202951858d4721c5b6cfabcdf2e0a9286a0acd..a1fcde564be471f5330adbb0463c1d61565fdf5c 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -37,13 +37,13 @@ defmodule Pleroma.Mixfile do
         pleroma: [
           include_executables_for: [:unix],
           applications: [ex_syslogger: :load, syslog: :load],
-          steps: [:assemble, &put_files/1, &copy_files/1, &copy_nginx_config/1]
+          steps: [:assemble, &put_otp_version/1, &copy_files/1, &copy_nginx_config/1]
         ]
       ]
     ]
   end
 
-  def put_files(%{path: target_path} = release) do
+  def put_otp_version(%{path: target_path} = release) do
     File.write!(
       Path.join([target_path, "OTP_VERSION"]),
       Pleroma.OTPVersion.version()