little fix

This commit is contained in:
Alex S 2019-06-15 16:24:49 +08:00
parent baf58c1234
commit 501705438f

View file

@ -178,7 +178,7 @@ defmodule Pleroma.Mixfile do
else
_ ->
{commit_hash, 0} = System.cmd("git", ["rev-parse", "--short", "HEAD"])
{nil, "-g" <> String.trim(commit_hash)}
{nil, "-0-g" <> String.trim(commit_hash)}
end
if git_tag && version != git_tag do