Merge branch 'fix-releases' into 'develop'

Fix releases by not relying on Mix

See merge request pleroma/pleroma!4344
This commit is contained in:
feld 2025-03-19 18:01:18 +00:00
commit 3e802240b1
2 changed files with 2 additions and 1 deletions

1
changelog.d/releases.fix Normal file
View file

@ -0,0 +1 @@
Fix release builds

View file

@ -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