commit before info file build, so that any modified annexed files get updated

This commit is contained in:
Joey Hess 2014-02-21 12:12:56 -04:00
parent a2886f2dd3
commit 764090d58f

View file

@ -21,6 +21,11 @@ main = do
makeinfos :: Annex ()
makeinfos = do
void $ inRepo $ runBool
[ Param "commit"
, Param "-m"
, Param $ "publishing git-annex " ++ version
]
basedir <- liftIO getRepoDir
version <- liftIO getChangelogVersion
now <- liftIO getCurrentTime
@ -44,7 +49,7 @@ makeinfos = do
void $ inRepo $ runBool
[ Param "commit"
, Param "-m"
, Param $ "publishing git-annex " ++ version
, Param $ "updated info files for git-annex " ++ version
]
void $ inRepo $ runBool
[ Param "annex"