cabal does not like ~ in version numbers, work around (for backports)
This commit is contained in:
parent
11fa9f809a
commit
322e7f44c1
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ getSshConnectionCaching = Config "sshconnectioncaching" . BoolConfig <$>
|
|||
{- Set up cabal file with version. -}
|
||||
cabalSetup :: IO ()
|
||||
cabalSetup = do
|
||||
version <- getChangelogVersion
|
||||
version <- takeWhile (/= '~') <$> getChangelogVersion
|
||||
cabal <- readFile cabalfile
|
||||
writeFile tmpcabalfile $ unlines $
|
||||
map (setfield "Version" version) $
|
||||
|
|
Loading…
Reference in a new issue