Improved release

This commit is contained in:
2018-09-15 17:26:33 +01:00
parent 5e3620c521
commit 2a8ecf4c8c
2 changed files with 21 additions and 0 deletions

16
mklog Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
WANTED=$1
TAGS=$(git tag -l --sort=-v:refname)
CTAG=""
echo $WANTED
echo "======"
echo ""
for TAG in $TAGS; do
if [ "$CTAG" == "$WANTED" ]; then
git log $CTAG...$TAG --oneline --pretty=format:"* %s" --date=short
exit 0
fi
CTAG=$TAG
done