This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git
The following commit(s) were added to refs/heads/main by this push:
new 5baf3d1 Shorten pull/issue URLs in `generate-email.sh`
5baf3d1 is described below
commit 5baf3d1261da948914467eea8cd4a937f66ac9f1
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Oct 10 09:46:03 2023 +0200
Shorten pull/issue URLs in `generate-email.sh`
---
.github/generate-email.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index f30d9eb..926c306 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -48,7 +48,8 @@
RELEASE_NOTES_FILE="$SCRIPT_DIR/../src/site/_release-notes/_$PROJECT_VERSION.ado
}
dump_release_notes() {
- awk "f{print} /^Release date::/{f=1}" "$RELEASE_NOTES_FILE"
+ awk "f{print} /^Release date::/{f=1}" "$RELEASE_NOTES_FILE" \
+ | sed -r 's!'$PROJECT_REPO'/(issues|pull)/[0-9]+\[([0-9]+)\]!#\2!g'
}
case $1 in