This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch release/0.9.0 in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git
The following commit(s) were added to refs/heads/release/0.9.0 by this push: new fa23196 Fix `generate-email.sh` fa23196 is described below commit fa231964e13d5be14676a04f6f3151bb0375d8df Author: Volkan Yazıcı <vol...@yazi.ci> AuthorDate: Wed May 8 16:11:57 2024 +0200 Fix `generate-email.sh` --- .github/generate-email.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/generate-email.sh b/.github/generate-email.sh index 88ee386..ea55732 100755 --- a/.github/generate-email.sh +++ b/.github/generate-email.sh @@ -45,7 +45,7 @@ PROJECT_VERSION="$2" COMMIT_ID="$3" # Check release notes file -RELEASE_NOTES_FILE="$SCRIPT_DIR/../src/site/_release-notes/_$PROJECT_VERSION.adoc" +RELEASE_NOTES_FILE="$SCRIPT_DIR/../target/generated-site/antora/modules/ROOT/pages/_release-notes/$PROJECT_VERSION.adoc" [ -f "$RELEASE_NOTES_FILE" ] || { stderr "Couldn't find release notes file: $RELEASE_NOTES_FILE" exit 1 @@ -69,11 +69,11 @@ case $1 in vote) cat <<EOF To: d...@logging.apache.org -Title: [VOTE] Release $PROJECT_NAME $PROJECT_VERSION +Title: [VOTE] Release $PROJECT_NAME \`$PROJECT_VERSION\` -This is a vote to release the $PROJECT_NAME $PROJECT_VERSION. +This is a vote to release the $PROJECT_NAME \`$PROJECT_VERSION\`. -Website: $PROJECT_STAGING_SITE +Website: $PROJECT_STAGING_SITE-$PROJECT_VERSION GitHub: $PROJECT_REPO Commit: $COMMIT_ID Distribution: $PROJECT_DIST_DIR @@ -91,14 +91,14 @@ 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 +== 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 +== Release notes $(dump_release_notes) EOF @@ -107,18 +107,19 @@ EOF announce) cat <<EOF To: log4j-u...@logging.apache.org, d...@logging.apache.org -Title: [ANNOUNCE] $PROJECT_NAME $PROJECT_VERSION released +Title: [ANNOUNCE] $PROJECT_NAME \`$PROJECT_VERSION\` released -${PROJECT_NAME} team is pleased to announce the $PROJECT_VERSION +${PROJECT_NAME} team is pleased to announce the \`$PROJECT_VERSION\` release. This project provides tooling internally used by the Apache Log4j project. For further information (support, download, etc.) see the project website[1]. [1] $PROJECT_SITE -=== Release Notes +== Release Notes + +$(dump_release_notes) EOF - dump_release_notes ;; *) fail_for_invalid_args