Merge pull request #10216 from ahocevar/changelog-dependabot
Update changelog script to recognize dependabot instead of greenkeeper
This commit is contained in:
+3
-3
@@ -44,7 +44,7 @@ main() {
|
|||||||
git log --first-parent --format='%aN|%s %b' ${1} |
|
git log --first-parent --format='%aN|%s %b' ${1} |
|
||||||
{
|
{
|
||||||
while read l; do
|
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
|
if [[ ${l} =~ ${MERGE_RE} ]] ; then
|
||||||
number="${BASH_REMATCH[1]}"
|
number="${BASH_REMATCH[1]}"
|
||||||
author="${BASH_REMATCH[2]}"
|
author="${BASH_REMATCH[2]}"
|
||||||
@@ -60,12 +60,12 @@ main() {
|
|||||||
|
|
||||||
echo -e "$main_output"
|
echo -e "$main_output"
|
||||||
|
|
||||||
if [ -n "$greenkeeper_output" ]; then
|
if [ -n "$dependabot_output" ]; then
|
||||||
echo
|
echo
|
||||||
echo "<details>"
|
echo "<details>"
|
||||||
echo " <summary>Dependency Updates</summary>"
|
echo " <summary>Dependency Updates</summary>"
|
||||||
echo
|
echo
|
||||||
echo -e "$greenkeeper_output"
|
echo -e "$dependabot_output"
|
||||||
echo
|
echo
|
||||||
echo "</details>"
|
echo "</details>"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user