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=2b6cd10b68c01bb16f94c911da6fce51511a1a5a;p=akkoma Correct version parser branch name detection --- diff --git a/mix.exs b/mix.exs index f61cc6923..c0f3b105b 100644 --- a/mix.exs +++ b/mix.exs @@ -217,7 +217,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