little fix

This commit is contained in:
Alex S 2019-06-15 16:24:49 +08:00
parent baf58c1234
commit 501705438f
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ defp version(version) 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