2018-10-25 16:08:30 +03:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
2020-05-06 17:02:20 +03:00
|
|
|
# Rename this file as harbour-tooterb.changes.run to let mb2 automatically
|
2018-10-25 16:08:30 +03:00
|
|
|
# generate changelog from well formatted Git commit messages and tag
|
|
|
|
# annotations.
|
|
|
|
|
2023-01-27 18:08:30 +03:00
|
|
|
git-change-log
|
2018-10-25 16:08:30 +03:00
|
|
|
|
|
|
|
# Here are some basic examples how to change from the default behavior. Run
|
|
|
|
# git-change-log --help inside the Sailfish OS SDK chroot or build engine to
|
|
|
|
# learn all the options git-change-log accepts.
|
|
|
|
|
|
|
|
# Use a subset of tags
|
|
|
|
#git-change-log --tags refs/tags/my-prefix/*
|
|
|
|
|
|
|
|
# Group entries by minor revision, suppress headlines for patch-level revisions
|
|
|
|
#git-change-log --dense '/[0-9]\+\.[0-9\+$'
|
|
|
|
|
|
|
|
# Trim very old changes
|
|
|
|
#git-change-log --since 2014-04-01
|
|
|
|
#echo '[ Some changelog entries trimmed for brevity ]'
|
|
|
|
|
|
|
|
# Use the subjects (first lines) of tag annotations when no entry would be
|
|
|
|
# included for a revision otherwise
|
|
|
|
#git-change-log --auto-add-annotations
|