fix inclusion of -gitrev
This commit is contained in:
parent
3e960994c6
commit
c5cd8729f2
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ getVersion = do
|
|||
( return changelogversion
|
||||
, catchDefaultIO changelogversion $ do
|
||||
let major = takeWhile (/= '.') changelogversion
|
||||
autoversion <- takeWhile isAlphaNum <$> readProcess "sh"
|
||||
autoversion <- takeWhile (\c -> isAlphaNum c || c == '-') <$> readProcess "sh"
|
||||
[ "-c"
|
||||
, "git log -n 1 --format=format:'%ci %h'| sed -e 's/-//g' -e 's/ .* /-g/'"
|
||||
] ""
|
||||
|
|
Loading…
Reference in a new issue