Update changelog script to recognize dependabot instead of greenkeeper

This commit is contained in:
Andreas Hocevar
2019-10-28 21:49:18 +01:00
parent 90e1819d76
commit 49c1486e06

View File

@@ -44,7 +44,7 @@ main() {
git log --first-parent --format='%aN|%s %b' ${1} |
{
while read l; do
output="`[[ ${l} =~ "openlayers/greenkeeper" ]] && echo greenkeeper || echo main`_output"
output="`[[ ${l} =~ "openlayers/dependabot" ]] && echo dependabot || echo main`_output"
if [[ ${l} =~ ${MERGE_RE} ]] ; then
number="${BASH_REMATCH[1]}"
author="${BASH_REMATCH[2]}"
@@ -60,12 +60,12 @@ main() {
echo -e "$main_output"
if [ -n "$greenkeeper_output" ]; then
if [ -n "$dependabot_output" ]; then
echo
echo "<details>"
echo " <summary>Dependency Updates</summary>"
echo
echo -e "$greenkeeper_output"
echo -e "$dependabot_output"
echo
echo "</details>"
fi