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/26 09:27:36 UTC
[logging-parent] branch release/10.3.0 updated: Shorten GitHub URLs in `generate-email.sh`
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch release/10.3.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/release/10.3.0 by this push:
new 04d5505 Shorten GitHub URLs in `generate-email.sh`
04d5505 is described below
commit 04d5505059824f49f057e2e52648861a6b77f2cf
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Thu Oct 26 11:27:32 2023 +0200
Shorten GitHub URLs in `generate-email.sh`
---
.github/generate-email.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index 09ce7e8..bed7bd6 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -50,6 +50,7 @@ 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" \
| sed -r 's!'$PROJECT_REPO'/(issues|pull)/[0-9]+\[([0-9]+)\]!#\2!g'
+ | sed -r 's!https://github.com/([^/]+)/([^/]+)/(pull|issues)/([0-9]+)\[(\1/\2#\4)\]!\5!g'
}
case $1 in