mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
add basic release notes script
This commit is contained in:
parent
298b6469c5
commit
5a9c6a6eac
20
scripts/release-notes.sh
Executable file
20
scripts/release-notes.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user