2018-06-26 14:33:28 +00:00
|
|
|
{- For use by autobuilders, this outputs the version of git-annex that
|
|
|
|
- is being built, and also updates the Build/Version file so the build
|
|
|
|
- will report the right version, including the current git rev. -}
|
|
|
|
|
|
|
|
{-# OPTIONS_GHC -fno-warn-tabs #-}
|
2014-06-18 18:29:39 +00:00
|
|
|
|
|
|
|
import Build.Version
|
|
|
|
|
2018-08-04 18:21:30 +00:00
|
|
|
main :: IO ()
|
2018-06-26 14:33:28 +00:00
|
|
|
main = do
|
|
|
|
ver <- getVersion
|
|
|
|
writeVersion ver
|
|
|
|
putStr ver
|