semantic-changelog-gen

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2020 License: MIT Imports: 2 Imported by: 0

README

GoDoc Go Report

Semantic Changelog Gen

A lightweight and extensible changelog generator working with semantic commits. This generator sticks to the rules defined in Karma Git Commit Msg.

How to install

If you have Go installed, it's as simple as running:

go get github.com/typusomega/semantic-changelog-gen

Usage

To generate your changelog simply navigate into the git repository and run:

semantic-changelog-gen generate

You can also specify the repository and the output file like this:

semantic-changelog-gen generate \
   --dir /path/to/repo \
   --out /path/to/changelog.md

If you are tired of the default markdown format used by the generator, feel free to use your own style:

semantic-changelog-gen generate \
   --dir /path/to/repo \
   --out /path/to/changelog.vnext \
   --format custom \
   --template /path/to/your/go.tpl

If you are consistent with the scoping of your commits, you may also include them into your changelog:

semantic-changelog-gen generate --include-scopes

Contribution

Create a new issue if you want to:

  • have a new feature
  • report a bug
  • something else

Pull requests are welcome

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
builder
Package builder contains the builder extracting a git repository's log into a Changelog.
Package builder contains the builder extracting a git repository's log into a Changelog.
changelog
Package changelog contains the domain model of a Changelog, Release and SemanticCommits.
Package changelog contains the domain model of a Changelog, Release and SemanticCommits.
formatter
Package formatter contains everything related to changelog Formatters.
Package formatter contains everything related to changelog Formatters.
git
Package git contains the git interface.
Package git contains the git interface.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL