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
|
( return changelogversion
|
||||||
, catchDefaultIO changelogversion $ do
|
, catchDefaultIO changelogversion $ do
|
||||||
let major = takeWhile (/= '.') changelogversion
|
let major = takeWhile (/= '.') changelogversion
|
||||||
autoversion <- takeWhile isAlphaNum <$> readProcess "sh"
|
autoversion <- takeWhile (\c -> isAlphaNum c || c == '-') <$> readProcess "sh"
|
||||||
[ "-c"
|
[ "-c"
|
||||||
, "git log -n 1 --format=format:'%ci %h'| sed -e 's/-//g' -e 's/ .* /-g/'"
|
, "git log -n 1 --format=format:'%ci %h'| sed -e 's/-//g' -e 's/ .* /-g/'"
|
||||||
] ""
|
] ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue