X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=mix.exs;h=9ffcf5928771a59f609b210592acae7f98015aef;hb=57d90e7afe46a54cc7e1ef14a9b76b0650ed3db6;hp=865ead43b1ad5eae7ef075e698d229ac92c86269;hpb=b9bc83097d01f445ca30bf0f70242fa50f1f2d40;p=akkoma diff --git a/mix.exs b/mix.exs index 865ead43b..9ffcf5928 100644 --- a/mix.exs +++ b/mix.exs @@ -95,7 +95,7 @@ defmodule Pleroma.Mixfile do {git_tag, git_pre_release} = with {tag, 0} <- System.cmd("git", ["describe", "--tags", "--abbrev=0"]), tag = String.trim(tag), - {describe, 0} <- System.cmd("git", ["describe", "--tags"]), + {describe, 0} <- System.cmd("git", ["describe", "--tags", "--abbrev=8"]), describe = String.trim(describe), ahead <- String.replace(describe, tag, "") do {String.replace_prefix(tag, "v", ""), if(ahead != "", do: String.trim(ahead))}