You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a long journey of debugging, it turns out that the problem
is that 'git shortlog --summary --email' does not display any
authors anymore since today, when run in GitHub Actions.
The fix for now is to make 'make authors' tolerant against that,
by dececting there are no authors and then leaving the AUTHORS.md
file unchanged.
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Copy file name to clipboardexpand all lines: Makefile
+1-1
Original file line number
Diff line number
Diff line change
@@ -479,7 +479,7 @@ AUTHORS.md: _always
479
479
sh -c "ls -l log.tmp"
480
480
sh -c "cat log.tmp >>AUTHORS.md.tmp"
481
481
echo'```'>>AUTHORS.md.tmp
482
-
sh -c "if ! grep -q '[^[:space:]]' log.tmp; then echo 'Warning - git shortlog does not display any authors - leaving AUTHORS.md file unchanged'; else if ! diff -q AUTHORS.md.tmp AUTHORS.md; then echo 'Updating AUTHORS.md:'; diff AUTHORS.md.tmp AUTHORS.md; mv AUTHORS.md.tmp AUTHORS.md; else echo 'AUTHORS.md was already up to date'; fi; fi"
482
+
sh -c "if ! grep -q '[^[:space:]]' log.tmp; then echo 'Warning - git shortlog does not display any authors - leaving AUTHORS.md file unchanged'; else if ! diff -q AUTHORS.md.tmp AUTHORS.md; then echo 'Updating AUTHORS.md as follows:'; diff AUTHORS.md.tmp AUTHORS.md; mv AUTHORS.md.tmp AUTHORS.md; else echo 'AUTHORS.md was already up to date'; fi; fi"
0 commit comments