diff options
author | kPherox <admin@mail.kr-kp.com> | 2020-04-09 23:19:41 +0000 |
---|---|---|
committer | kPherox <admin@mail.kr-kp.com> | 2020-04-09 23:19:41 +0000 |
commit | c2aad36aa86694d4131adb2ed47441beca2ab2e8 (patch) | |
tree | aca4fe6a57573b586cac8e1b17026a3b77e47083 | |
parent | 0e8f6d24b87812664d3bb021d17f120686cf2401 (diff) | |
download | pleroma-c2aad36aa86694d4131adb2ed47441beca2ab2e8.tar.gz |
Rename function
-rw-r--r-- | mix.exs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,13 +37,13 @@ defmodule Pleroma.Mixfile do pleroma: [ include_executables_for: [:unix], applications: [ex_syslogger: :load, syslog: :load], - steps: [:assemble, &put_files/1, ©_files/1, ©_nginx_config/1] + steps: [:assemble, &put_otp_version/1, ©_files/1, ©_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() |