1
0
Fork 0
mirror of https://github.com/Luzifer/git-changerelease.git synced 2024-10-18 06:04:20 +00:00
git-subcommand to write the changelog in a consistent format and tag it using semantic versioning
Find a file
2017-04-19 16:45:26 +02:00
assets make commit message configurable 2016-07-14 14:22:26 +02:00
Godeps vendor dependencies 2016-07-14 14:29:15 +02:00
vendor vendor dependencies 2016-07-14 14:29:15 +02:00
.gitignore add the initial version 2016-07-14 12:55:04 +02:00
.gobuilder.yml add metadata 2016-07-14 14:36:01 +02:00
.repo-runner.yaml Add Github publishing 2017-04-19 16:42:35 +02:00
.travis.yml add metadata 2016-07-14 14:36:01 +02:00
assets.go make commit message configurable 2016-07-14 14:22:26 +02:00
git.go fix wrong bump when patch and minor are included 2016-07-21 17:51:08 +02:00
History.md prepare release v0.5.5 2017-04-19 16:45:26 +02:00
LICENSE add README and LICENSE 2016-07-14 14:03:25 +02:00
main.go Fix: Use text/template, not html/template 2016-10-08 23:25:18 +02:00
Makefile Add Github publishing 2017-04-19 16:42:35 +02:00
README.md Fix README 2017-04-19 16:43:44 +02:00
semver.go fix wrong bump when patch and minor are included 2016-07-21 17:51:08 +02:00
semver_test.go move code to multiple files; add tests 2016-07-14 13:44:21 +02:00

license 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

project status