1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-11-25 13:22:17 +03:00

chore(release): show the committed changes before creating a tag

This commit is contained in:
orhun 2021-08-21 00:58:17 +03:00
parent 4c6e64bd13
commit 59ffe53a7c
No known key found for this signature in database
GPG Key ID: B928720AEC532117

View File

@ -8,6 +8,7 @@ if [ -n "$1" ]; then
# update the changelog
cargo run -- --tag "$1" > CHANGELOG.md
git add -A && git commit -m "chore(release): prepare for $1"
git show
# generate a changelog for the tag message
export TEMPLATE="\
{% for group, commits in commits | group_by(attribute=\"group\") %}