aboutsummaryrefslogtreecommitdiff
path: root/Build/DistributionUpdate.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-21 12:12:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-21 12:13:12 -0400
commit6cdf0e5ef173c5bb72fbdfa46a0654dd3204dab4 (patch)
tree2a71f4a19b5d35139739598c2c327b22f6c35098 /Build/DistributionUpdate.hs
parent5175dc7f2ccc4d68cbd08844cda9b210cc44841d (diff)
commit before info file build, so that any modified annexed files get updated
Diffstat (limited to 'Build/DistributionUpdate.hs')
-rw-r--r--Build/DistributionUpdate.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/DistributionUpdate.hs b/Build/DistributionUpdate.hs
index 2c4d82495..6965bcb68 100644
--- a/Build/DistributionUpdate.hs
+++ b/Build/DistributionUpdate.hs
@@ -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"