Commit 4c715bf0 authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Add changelog utility scripts (closes #172)

parent 0f3c73dc
#!/bin/bash
for tag in $(git tag -l --sort=-version:refname)
do
pre=$(git describe --abbrev=0 $tag^ 2>/dev/null)
tag_date=$(git log -1 --format=%ad --date=short $tag)
echo "## [$tag] - $tag_date"
echo "### Added"
echo "### Changed"
echo "### Deprecated"
echo "### Removed"
echo "### Fixed"
echo "### Security"
git shortlog $pre..$tag
done
#!/bin/bash
tag=$1
pre=$(git describe --abbrev=0 2>/dev/null)
tag_date=$(git log -1 --format=%ad --date=short)
echo -e "## [$tag] - $tag_date\n"
echo -e "### Added\n"
echo -e "### Changed\n"
echo -e "### Deprecated\n"
echo -e "### Removed\n"
echo -e "### Fixed\n"
echo -e "### Security\n\n"
git shortlog $pre..
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment