little fix
This commit is contained in:
parent
baf58c1234
commit
501705438f
2
mix.exs
2
mix.exs
|
@ -178,7 +178,7 @@ defp version(version) do
|
||||||
else
|
else
|
||||||
_ ->
|
_ ->
|
||||||
{commit_hash, 0} = System.cmd("git", ["rev-parse", "--short", "HEAD"])
|
{commit_hash, 0} = System.cmd("git", ["rev-parse", "--short", "HEAD"])
|
||||||
{nil, "-g" <> String.trim(commit_hash)}
|
{nil, "-0-g" <> String.trim(commit_hash)}
|
||||||
end
|
end
|
||||||
|
|
||||||
if git_tag && version != git_tag do
|
if git_tag && version != git_tag do
|
||||||
|
|
Loading…
Reference in a new issue