aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-14 22:13:18 +0300
committerrinpatch <rinpatch@sdf.org>2019-10-14 22:15:16 +0300
commit2f0ed5f6c4dcfb16de510851dbdf9886bc25f1d5 (patch)
treec895eb28424f5456e90ae84e70703df4871f3276
parent8b39d6f93cc6f9aecc76d67a686087366c3c50fd (diff)
downloadpleroma-2f0ed5f6c4dcfb16de510851dbdf9886bc25f1d5.tar.gz
Fix hiding branch name logic
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 329ce3d89..6cf766c52 100644
--- a/mix.exs
+++ b/mix.exs
@@ -221,7 +221,7 @@ 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 ->
+ !Enum.any?(["master", "HEAD", "release/", "stable"], fn name ->
String.starts_with?(name, branch_name)
end) do
branch_name =