parkr / changelog

Read & write changelogs

Home Page:https://godoc.org/byparker.com/go/changelog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

changelog

Parse markdown-esque changelogs (like our example in History.markdown), parse out versions, sections, changes & references. Motivation: automate update of changelogs

Bundled with a command, changelogger.

Supports several header formats such as SemVer and KeepAChangelog.

Build & test

changelogger command

Installation

$ go get github.com/parkr/changelog/changelogger

Usage

$ $GOPATH/bin/changelogger
$ $GOPATH/bin/changelogger -h

changelog package

Installation

$ go get github.com/parkr/changelog

Usage

// Parse changelog at a given filename
changes, err := changelog.NewChangelogFromFile("CHANGELOG.md")

// Discover the filename of your changelog
filename := changelog.HistoryFilename()

// Parse changelog from some io.Reader
changes, err := changelog.NewChangeLogFromReader(req.Body)

License

MIT License, Copyright 2015 Parker Moore. See LICENSE for details.

About

Read & write changelogs

https://godoc.org/byparker.com/go/changelog

License:MIT License


Languages

Language:Go 97.7%Language:Makefile 1.6%Language:Shell 0.3%Language:Dockerfile 0.3%