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/12/07 10:06:31 UTC
(logging-log4j-kotlin) 06/06: Add `Review kit` to the `generate-email.sh`
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch release/1.3.1
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git
commit 90e120ac246af5f2d3e4ea55f2e1d691ae37832d
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Thu Dec 7 11:06:19 2023 +0100
Add `Review kit` to the `generate-email.sh`
---
.github/generate-email.sh | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index f30d9eb..754ee2e 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -47,8 +47,17 @@ RELEASE_NOTES_FILE="$SCRIPT_DIR/../src/site/_release-notes/_$PROJECT_VERSION.ado
exit 1
}
+dump_review_kit() {
+ wget -q -O - "https://raw.githubusercontent.com/apache/logging-parent/main/.github/release-review-kit.txt" \
+ | sed -n '/-----8<-----~( cut here )~-----8<-----/,$p' \
+ | tail -n +2 \
+ | sed -r 's!^! !g'
+}
+
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' \
+ | sed -r 's!https://github.com/([^/]+)/([^/]+)/(pull|issues)/([0-9]+)\[(\1/\2#\4)\]!\5!g'
}
case $1 in
@@ -78,9 +87,17 @@ everyone to test the release, but only the Logging Services PMC
votes are officially counted. At least 3 +1 votes and more
positive than negative votes are required.
+=== Review kit
+
+The minimum set of steps needed to review the uploaded distribution
+files in the Subversion repository can be summarized as follows:
+
+$(dump_review_kit)
+
=== Release Notes
+
+$(dump_release_notes)
EOF
- dump_release_notes
;;
announce)