Merge branch 'exclude-visibilities-for-timelines' into 'develop'
[akkoma] / mix.exs
diff --git a/mix.exs b/mix.exs
index 0ae9c3f05ae18461248e4efb162c880ac04d468b..6cf766c521cdbd109387b2b471b58b5c07c17397 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -221,8 +221,8 @@ defmodule Pleroma.Mixfile do
            branch_name <- String.trim(branch_name),
            branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
            true <-
-             !Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
-               name != branch_name
+             !Enum.any?(["master", "HEAD", "release/", "stable"], fn name ->
+               String.starts_with?(name, branch_name)
              end) do
         branch_name =
           branch_name