1
0
Fork 0
mirror of https://github.com/Luzifer/git-changerelease.git synced 2024-10-17 21:54:20 +00:00
git-subcommand to write the changelog in a consistent format and tag it using semantic versioning
Find a file
2023-11-29 12:37:03 +01:00
.github/workflows Replace repo-runner building 2023-11-11 15:42:44 +01:00
assets Add support for pre-commit-commands 2023-11-12 13:12:04 +01:00
integration Add integration tests 2017-05-31 14:51:23 +02:00
.gitignore add the initial version 2016-07-14 12:55:04 +02:00
assets.go Modernize code, update deps, fix linter errors 2023-11-11 15:27:37 +01:00
config.go Add support for pre-commit-commands 2023-11-12 13:12:04 +01:00
git.go Modernize code, update deps, fix linter errors 2023-11-11 15:27:37 +01:00
go.mod Add support for pre-commit-commands 2023-11-12 13:12:04 +01:00
go.sum Add support for pre-commit-commands 2023-11-12 13:12:04 +01:00
History.md prepare release v0.11.1 2023-11-29 12:37:03 +01:00
LICENSE Fix License file 2018-07-02 16:55:13 +02:00
main.go Fix: Need to read the changelog after editing to get new version 2023-11-29 12:36:48 +01:00
Makefile Modernize code, update deps, fix linter errors 2023-11-11 15:27:37 +01:00
README.md Replace broken project status 2020-08-07 16:27:07 +02:00
semver.go Modernize code, update deps, fix linter errors 2023-11-11 15:27:37 +01: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