OPTIONS -h | --help) Print help -v | --version) Print version info -p | --prefix) If provided, search all sub-folders with this prefix. Otherwise process current directory. -s | --since) Commit id from -u | --until) Commit id to
EXAMPLES 1. Generate all change logs between 1.0.1 and 1.0.2
$ changelog.sh --since 1.0.1 --until 1.0.2
2. Generate all change logs of version 1.0.2 from the very beginning
$ changelog.sh --until 1.0.2
3. Generate all change logs since version 1.0.2
$ changelog.sh --since 1.0.2
脚本可以为当前所在的git仓库目录生成变更日志文件,也支持将一组相似的仓库批量生成变更日志,例如:
1 2 3
$ changelog.sh --prefix kt --until HEAD [INFO] CHANGELOG will be written to file CHANGELOG-HEAD.md [INFO] Appending change logs for kt-connect-rbac ...