aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-14 18:45:16 +0300
committerrinpatch <rinpatch@sdf.org>2019-10-14 19:34:38 +0300
commit2b6cd10b68c01bb16f94c911da6fce51511a1a5a (patch)
treee3a284e6613f2b984617c811705005e373bbf74e
parent164f42c5f834313a7796fa479eda33e1ad8861c7 (diff)
downloadpleroma-2b6cd10b68c01bb16f94c911da6fce51511a1a5a.tar.gz
Correct version parser branch name detection
-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