diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-14 22:13:18 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-14 22:15:16 +0300 |
commit | 2f0ed5f6c4dcfb16de510851dbdf9886bc25f1d5 (patch) | |
tree | c895eb28424f5456e90ae84e70703df4871f3276 | |
parent | 8b39d6f93cc6f9aecc76d67a686087366c3c50fd (diff) | |
download | pleroma-2f0ed5f6c4dcfb16de510851dbdf9886bc25f1d5.tar.gz |
Fix hiding branch name logic
-rw-r--r-- | mix.exs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = |