From: rinpatch Date: Mon, 14 Oct 2019 19:13:18 +0000 (+0300) Subject: Fix hiding branch name logic X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=0733da3205caf1f014e4062cbebabba2760686aa;p=akkoma Fix hiding branch name logic --- 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 =