X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=mix.exs;h=6cf766c521cdbd109387b2b471b58b5c07c17397;hb=b08b1d5d91968fbe94e20897ee3529216dd50a0a;hp=329ce3d893429e210f6405ca26f22d13f8a00db6;hpb=17b8896c40fa1c4aaab96f82fd07d5f5f2698400;p=akkoma 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 =