mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
21 lines
513 B
Bash
21 lines
513 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
#RELEASE_NOTES_FILE=${RELEASE_NOTES_FILE:?RELEASE_NOTES_FILE must be provided}
|
||
|
|
||
|
git log --oneline --decorate --max-count=1000 master > /tmp/gitlog_master
|
||
|
readarray lines < /tmp/gitlog_master
|
||
|
for line in "${lines[@]}"
|
||
|
do
|
||
|
if [[ $line =~ \(tag:\ nosqlbench-[0-9]+\.[0-9]+\.[0-9]+\).+ ]]
|
||
|
then break
|
||
|
elif [[ $line =~ \[maven-release-plugin\] ]]
|
||
|
then continue
|
||
|
elif [[ $line =~ \(.+Merge\ branch ]]
|
||
|
then continue
|
||
|
else
|
||
|
printf "$line"
|
||
|
# printf "$line" | tee -a ${RELEASE_NOTES_FILE}
|
||
|
fi
|
||
|
done
|
||
|
|