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/03 07:44:07 UTC

[logging-log4j-tools] 06/06: Add staging website to `generate-email.sh`

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/0.5.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit bfff05118bc236e204c8f7c0cf190a6238f5db9d
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Oct 3 09:43:58 2023 +0200

    Add staging website to `generate-email.sh`
---
 .github/generate-email.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/generate-email.sh b/.github/generate-email.sh
index 6b86e68..f413aab 100755
--- a/.github/generate-email.sh
+++ b/.github/generate-email.sh
@@ -34,6 +34,7 @@ fail_for_invalid_args() {
 # Constants
 PROJECT_NAME="Apache Log4j Tools"
 PROJECT_SITE="https://logging.apache.org/log4j/tools"
+PROJECT_STAGING_SITE="${PROJECT_SITE/apache.org/staged.apache.org}"
 PROJECT_REPO="https://github.com/apache/logging-log4j-tools"
 PROJECT_DIST_DIR="https://dist.apache.org/repos/dist/dev/logging/log4j-tools"
 PROJECT_VERSION="$2"
@@ -59,7 +60,8 @@ Title: [VOTE] Release $PROJECT_NAME $PROJECT_VERSION
 
 This is a vote to release the $PROJECT_NAME $PROJECT_VERSION.
 
-Source repository: $PROJECT_REPO
+Website: $PROJECT_STAGING_SITE
+GitHub: $PROJECT_REPO
 Commit: $COMMIT_ID
 Distribution: $PROJECT_DIST_DIR
 Nexus: https://repository.apache.org/content/repositories/orgapachelogging-1113