1
0
Fork 0
mirror of https://github.com/Luzifer/git-changerelease.git synced 2024-12-20 11:01:16 +00:00
git-subcommand to write the changelog in a consistent format and tag it using semantic versioning
Find a file
Knut Ahlers 5353ad2f71
Fix: Do not marshal into pointer of pointer
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-07-03 09:55:07 +02:00
assets refactor code, follow linter advices 2018-07-03 09:46:37 +02:00
integration Add integration tests 2017-05-31 14:51:23 +02:00
vendor Update vendored libraries 2018-07-03 09:48:41 +02:00
.gitignore add the initial version 2016-07-14 12:55:04 +02:00
.repo-runner.yaml Update reporunner image 2018-07-02 16:47:40 +02:00
assets.go refactor code, follow linter advices 2018-07-03 09:46:37 +02:00
config.go Fix: Do not marshal into pointer of pointer 2018-07-03 09:55:07 +02:00
git.go fix wrong bump when patch and minor are included 2016-07-21 17:51:08 +02:00
Gopkg.lock Update vendored libraries 2018-07-03 09:48:41 +02:00
Gopkg.toml Update vendored libraries 2018-07-03 09:48:41 +02:00
History.md prepare release v0.7.1 2018-07-02 16:56:49 +02:00
LICENSE Fix License file 2018-07-02 16:55:13 +02:00
main.go refactor code, follow linter advices 2018-07-03 09:46:37 +02:00
Makefile refactor code, follow linter advices 2018-07-03 09:46:37 +02:00
README.md Adjust buttons in README 2018-07-02 16:57:44 +02:00
semver.go refactor code, follow linter advices 2018-07-03 09:46:37 +02:00
semver_test.go refactor code, follow linter advices 2018-07-03 09:46:37 +02:00

Go Report Card

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