changelogged-0.2.0: Changelog manager for Git projects.

Safe HaskellNone
LanguageHaskell2010

Changelogged.Bump.Common

Synopsis

Documentation

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

Add version label to changelog.

bumpAny :: VersionFile -> 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 -> VersionFile -> IO () Source #

Bump version in file regarding extension.

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

Get level of changes from changelog.