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:13:18 +0300
commit0733da3205caf1f014e4062cbebabba2760686aa (patch)
tree878dbbb34307c16a3e6ad996d18b4571cce60e06
parent988654a720e4e61215a5c3dc72a2ca76b6a38042 (diff)
downloadpleroma-0733da3205caf1f014e4062cbebabba2760686aa.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 9bd807d8c..56a11cac3 100644
--- a/mix.exs
+++ b/mix.exs
@@ -216,7 +216,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 =