You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/10/09 09:41:30 UTC
[logging-parent] 02/02: Shorten pull/issue URLs in `generate-email.sh`
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-parent.git
commit 13ab67e98d420867a2d1c44498938c9821dd7d21
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Oct 9 11:41:22 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 b94053c..09ce7e8 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