github.com/Luzifer/git-changerelease


Properties

Last built 5 months ago using go version go1.7.1 linux/amd64 and 74 seconds of time

Downloads
Filename
File Size
 
git-changerelease_master_darwin-386.zip
1.4MiB
git-changerelease_master_darwin-amd64.zip
1.4MiB
git-changerelease_master_linux-386.zip
1.4MiB
git-changerelease_master_linux-amd64.zip
1.5MiB
git-changerelease_master_linux-arm.zip
1.3MiB
git-changerelease_master_windows-386.zip
1.4MiB
git-changerelease_master_windows-amd64.zip
1.5MiB
Project-Readme for this version

license download travis

Luzifer / git-changerelease

git-changerelease is a git-subcommand to write the changelog in a consistent format and tag it using semantic versioning. You can see the version it writes in the History.md file in this repository.

Features

  • Specify regular expressions to match the commit subject against for automated detection of major / minor / patch releases
  • Automatically write Changelog from commits
  • Start editor to change the Changelog (and the version) before tagging

Usage

  • Generate a configuration file using git changerelease --create-config
  • Edit your matchers in the configuration file just created
  • Commit and release:
# git init
Initialized empty Git repository in /tmp/test/.git/

# git commit --allow-empty -m 'add an empty commit'
[master (root-commit) 0cc02e6] add an empty commit

# git-changerelease
# git describe --tags HEAD
v0.1.0

# git commit --allow-empty -m 'fix another empty commit'
[master 69d6f0e] fix another empty commit

# git-changerelease
# git describe --tags HEAD
v0.1.1