logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
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:

Achangelog.d/remove-forgotten-OTPVersion-usage.skip0
Mmix.exs11+----------
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, &copy_files/1, &copy_nginx_config/1], + steps: [:assemble, &copy_files/1, &copy_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