Work around sed output difference that led to version containing a newline on OSX.
This commit is contained in:
parent
89345b7108
commit
ecb4a30548
2 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,7 @@ getVersion = do
|
|||
( return changelogversion
|
||||
, catchDefaultIO changelogversion $ do
|
||||
let major = takeWhile (/= '.') changelogversion
|
||||
autoversion <- readProcess "sh"
|
||||
autoversion <- takeWhile isAlphaNum <$> readProcess "sh"
|
||||
[ "-c"
|
||||
, "git log -n 1 --format=format:'%ci %h'| sed -e 's/-//g' -e 's/ .* /-g/'"
|
||||
] ""
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -21,6 +21,8 @@ git-annex (4.20131003) UNRELEASED; urgency=low
|
|||
* status: Fix a crash if a temp file went away while its size was
|
||||
being checked for status.
|
||||
* Deal with git check-attr -z output format change in git 1.8.5.
|
||||
* Work around sed output difference that led to version containing a newline
|
||||
on OSX.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 03 Oct 2013 15:41:24 -0400
|
||||
|
||||
|
|
Loading…
Reference in a new issue