commit: 638d047a5c2f50b5c41ad35ba223092a1acd2872
parent 7107901f607b1da2d0b7be5d12abe377a3ef905e
Author: Mark Felder <feld@feld.me>
Date: Wed, 19 Mar 2025 10:47:32 -0700
Fix releases by not relying on Mix
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/changelog.d/releases.fix b/changelog.d/releases.fix
@@ -0,0 +1 @@
+Fix release builds
diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex
@@ -56,7 +56,7 @@ defmodule Pleroma.Application do
Pleroma.Web.Plugs.HTTPSecurityPlug.warn_if_disabled()
end
- if Mix.env() != :test do
+ if Config.get(:env) != :test do
Pleroma.ApplicationRequirements.verify!()
end