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=2f0ed5f6c4dcfb16de510851dbdf9886bc25f1d5;p=akkoma Fix hiding branch name logic --- 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 =