-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
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: [email protected], [email protected] | ||
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 | ||
|