From: rinpatch Date: Mon, 14 Oct 2019 15:45:16 +0000 (+0300) Subject: Correct version parser branch name detection X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=17b8896c40fa1c4aaab96f82fd07d5f5f2698400;p=akkoma Correct version parser branch name detection --- diff --git a/mix.exs b/mix.exs index 0ae9c3f05..329ce3d89 100644 --- a/mix.exs +++ b/mix.exs @@ -222,7 +222,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