From 7892d55fb77876c613b27d71e5da76e8852ae218 Mon Sep 17 00:00:00 2001 From: Thalia Archibald Date: Fri, 11 Oct 2024 14:01:42 -0700 Subject: Grant push permission to workflow --- .github/workflows/linearize.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/linearize.sh') diff --git a/.github/workflows/linearize.sh b/.github/workflows/linearize.sh index ad6968ae..07f22b08 100755 --- a/.github/workflows/linearize.sh +++ b/.github/workflows/linearize.sh @@ -4,7 +4,7 @@ set -eEuo pipefail sort_authors() { # Unify author aliases. sed -e 's/^dibyendumajumdar $/Dibyendu Majumdar /g' \ - -e 's/^Dibyendu Majumdar $/Dibyendu Majumdar /g' | + -e 's/^Dibyendu Majumdar $/Dibyendu Majumdar /g' | # Rank by number of commits. sort | uniq -c | sort -nr | sed -E 's/^ *[0-9]+ //' } @@ -81,7 +81,7 @@ while read -r chapter; do sed -Ei 's,\[Chapter ([0-9]+)\]\(chapter0?\1/README\.md\),Chapter \1,' README.md # Change to a JAR and delete the modules, for a single-project structure. sed -i -e 's,pom,jar,' \ - -e '//,/^$/d' pom.xml + -e '//,/^$/d' pom.xml fi git mv chapter_docs "docs/$chapter" # Restore the link to this chapter. -- cgit v1.2.3