aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index f61cc6923..c0f3b105b 100644
--- a/mix.exs
+++ b/mix.exs
@@ -217,7 +217,7 @@ defmodule Pleroma.Mixfile do
branch_name <- System.get_env("PLEROMA_BUILD_BRANCH") || branch_name,
true <-
!Enum.all?(["master", "HEAD", "release/", "stable"], fn name ->
- name != branch_name
+ String.starts_with?(name, branch_name)
end) do
branch_name =
branch_name