diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/DistributionUpdate.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/DistributionUpdate.hs b/Build/DistributionUpdate.hs index dd18a7883..e026d655b 100644 --- a/Build/DistributionUpdate.hs +++ b/Build/DistributionUpdate.hs @@ -119,13 +119,14 @@ makeinfos updated version = do Just k -> whenM (inAnnex k) $ do liftIO $ putStrLn f let infofile = f ++ ".info" - liftIO $ writeFile infofile $ show $ GitAnnexDistribution + let d = GitAnnexDistribution { distributionUrl = mkUrl f , distributionKey = k , distributionVersion = bv , distributionReleasedate = now , distributionUrgentUpgrade = Nothing } + liftIO $ writeFile infofile $ formatInfoFile d void $ inRepo $ runBool [Param "add", File infofile] signFile infofile signFile f |