little fix
authorAlex S <alex.strizhakov@gmail.com>
Sat, 15 Jun 2019 08:24:49 +0000 (16:24 +0800)
committerAlex S <alex.strizhakov@gmail.com>
Sat, 15 Jun 2019 08:24:49 +0000 (16:24 +0800)
mix.exs

diff --git a/mix.exs b/mix.exs
index 3e3a21e427789e9a2e5aab159cf5744ad60d738e..f82ae5243ba520577720a3088c1b6fb97ba8a0f4 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -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