mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-26 07:52:17 +00:00
Rename function
This commit is contained in:
parent
0e8f6d24b8
commit
c2aad36aa8
4
mix.exs
4
mix.exs
|
@ -37,13 +37,13 @@ defmodule Pleroma.Mixfile do
|
||||||
pleroma: [
|
pleroma: [
|
||||||
include_executables_for: [:unix],
|
include_executables_for: [:unix],
|
||||||
applications: [ex_syslogger: :load, syslog: :load],
|
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
|
end
|
||||||
|
|
||||||
def put_files(%{path: target_path} = release) do
|
def put_otp_version(%{path: target_path} = release) do
|
||||||
File.write!(
|
File.write!(
|
||||||
Path.join([target_path, "OTP_VERSION"]),
|
Path.join([target_path, "OTP_VERSION"]),
|
||||||
Pleroma.OTPVersion.version()
|
Pleroma.OTPVersion.version()
|
||||||
|
|
Loading…
Reference in a new issue