changelogged-0.1.0: Tool to manage project publishing history.

Safe HaskellNone
LanguageHaskell2010

Changelogged.Bump.Common

Synopsis

Documentation

headChangelog :: Text -> FilePath -> IO () Source #

Add version label to changelog.

bumpAny :: (Text -> Pattern Text) -> TaggedFile -> Text -> Shell () Source #

Bump version in any supported file. Unlike sed it reads all the file and is less memory efficient.

generateVersionedFile :: [Line] -> [Line] -> [Line] -> [Line] Source #

Replace given lines in the file. Here is used and called to write new lines wih versions.

bumpPart :: Text -> TaggedFile -> IO () Source #

Bump version in file regarding extension.

getChangelogEntries :: FilePath -> IO (Maybe Level) Source #

Get level of changes from changelog.