Skip to content

Commit 76ca3be

Browse files
committed
Fix sed invocation
1 parent a621a92 commit 76ca3be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/generate-email.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ RELEASE_NOTES_FILE="$SCRIPT_DIR/../target/generated-site/antora/modules/ROOT/pag
5454

5555
dump_release_notes() {
5656
awk "f{print} /^Release date::/{f=1}" "$RELEASE_NOTES_FILE" \
57-
| sed -r -e 's|'$PROJECT_REPO'/(issues|pull)/[0-9]+\[([0-9]+)\]|#\2|g
58-
s|https://github.com/([^/]+)/([^/]+)/(pull|issues)/([0-9]+)\[(\1/\2#\4)\]|\5|g'
57+
| sed -r -e 's!'$PROJECT_REPO'/(issues|pull)/[0-9]+\[([0-9]+)\]!#\2!g
58+
s!https://github.com/([^/]+)/([^/]+)/(pull|issues)/([0-9]+)\[(\1/\2#\4)\]!\5!g'
5959
}
6060

6161
case $1 in

0 commit comments

Comments
 (0)