commit: 5cd8c23634ea78951e72bbb522e86769c29817f5
parent 7114635997e731188eba8ea8a2d28c248401a181
Author: feld <feld@feld.me>
Date: Fri, 6 Jun 2025 20:14:14 +0000
Merge branch 'mix-otpver' into 'develop'
Remove forgotten Pleroma.OTPVersion usage in mix.exs
See merge request pleroma/pleroma!4364
Diffstat:
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/changelog.d/remove-forgotten-OTPVersion-usage.skip b/changelog.d/remove-forgotten-OTPVersion-usage.skip
diff --git a/mix.exs b/mix.exs
@@ -37,22 +37,13 @@ defmodule Pleroma.Mixfile do
pleroma: [
include_executables_for: [:unix],
applications: [ex_syslogger: :load, syslog: :load, eldap: :transient],
- steps: [:assemble, &put_otp_version/1, ©_files/1, ©_nginx_config/1],
+ steps: [:assemble, ©_files/1, ©_nginx_config/1],
config_providers: [{Pleroma.Config.ReleaseRuntimeProvider, []}]
]
]
]
end
- def put_otp_version(%{path: target_path} = release) do
- File.write!(
- Path.join([target_path, "OTP_VERSION"]),
- Pleroma.OTPVersion.version()
- )
-
- release
- end
-
def copy_files(%{path: target_path} = release) do
File.cp_r!("./rel/files", target_path)
release