diff options
author | kaniini <nenolod@gmail.com> | 2018-11-27 17:10:08 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-11-27 17:10:08 +0000 |
commit | 41ff86ca1d56868d51af0a4411beec4f63fa6ba0 (patch) | |
tree | 079e13f4f1b5ce9a02b45e28c59d5c0bfb09c5a8 | |
parent | b9bc83097d01f445ca30bf0f70242fa50f1f2d40 (diff) | |
parent | f70b20e49989a8445b88365e8abec0e336263282 (diff) | |
download | pleroma-41ff86ca1d56868d51af0a4411beec4f63fa6ba0.tar.gz |
Merge branch 'fix/version-string-force-git-abbrev-size' into 'develop'
fix: version string: force git abbrev size to 8 chars
Closes #389
See merge request pleroma/pleroma!472
-rw-r--r-- | mix.exs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))} |