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
The following commit(s) were added to refs/heads/main by this push:
new efab7d5 Further simplify `generate-email.sh`
efab7d5 is described below
commit efab7d5634ad08bb136f738ee7d2b53090811cdd
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Sep 3 21:07:15 2024 +0200
Further simplify `generate-email.sh`
---
.github/generate-email.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index 13a77bd..68abce3 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -53,7 +53,6 @@
RELEASE_NOTES_FILE="$SCRIPT_DIR/../target/generated-site/antora/modules/ROOT/pag
}
dump_review_kit() {
- local shortCommitId="${COMMIT_ID:0:8}"
cat "$SCRIPT_DIR/release-review-kit.txt" \
| sed -n '/-----8<-----~( cut here )~-----8<-----/,$p' \
| tail -n +2 \
@@ -61,7 +60,7 @@ dump_review_kit() {
| sed -r "s|@PROJECT_ID@|$PROJECT_ID|g"
| sed -r "s|@PROJECT_VERSION@|$PROJECT_VERSION|g"
| sed -r "s|@PROJECT_DIST_URL@|$PROJECT_DIST_URL|g"
- | sed -r "s|@COMMIT_ID@|$shortCommitId|g"
+ | sed -r "s|@COMMIT_ID@|${COMMIT_ID:0:8}|g"
}
dump_release_notes() {