@@ -38,10 +38,10 @@ fail_for_invalid_args() {
38
38
# Constants
39
39
PROJECT_NAME=" Apache Log4j"
40
40
PROJECT_ID=" log4j"
41
+ PROJECT_VERSION=" $2 "
41
42
PROJECT_SITE=" https://logging.apache.org/$PROJECT_ID "
42
43
PROJECT_STAGING_SITE=" ${PROJECT_SITE/ apache.org/ staged.apache.org} "
43
44
PROJECT_REPO=" https://github.com/apache/logging-log4j2"
44
- PROJECT_VERSION=" $2 "
45
45
COMMIT_ID=" $3 "
46
46
PROJECT_DIST_URL=" https://dist.apache.org/repos/dist/dev/logging/$PROJECT_ID /$PROJECT_VERSION "
47
47
@@ -54,8 +54,8 @@ RELEASE_NOTES_FILE="$SCRIPT_DIR/../target/generated-site/antora/modules/ROOT/pag
54
54
55
55
dump_release_notes () {
56
56
awk " f{print} /^Release date::/{f=1}" " $RELEASE_NOTES_FILE " \
57
- | sed -r -e ' s| ' $PROJECT_REPO ' /(issues|pull)/[0-9]+\[([0-9]+)\]| #\2| g
58
- s| https://github.com/([^/]+)/([^/]+)/(pull|issues)/([0-9]+)\[(\1/\2#\4)\]|\5| g'
57
+ | sed -r -e ' s! ' $PROJECT_REPO ' /(issues|pull)/[0-9]+\[([0-9]+)\]! #\2! g
58
+ s! https://github.com/([^/]+)/([^/]+)/(pull|issues)/([0-9]+)\[(\1/\2#\4)\]!\5! g'
59
59
}
60
60
61
61
case $1 in
@@ -67,13 +67,13 @@ Title: [VOTE] Release $PROJECT_NAME \`$PROJECT_VERSION\`
67
67
68
68
This is a vote to release the $PROJECT_NAME \` $PROJECT_VERSION \` .
69
69
70
- Website: $PROJECT_STAGING_SITE - $PROJECT_VERSION
70
+ Website: $PROJECT_STAGING_SITE / $PROJECT_VERSION /index.html
71
71
GitHub: $PROJECT_REPO
72
72
Commit: $COMMIT_ID
73
73
Distribution: $PROJECT_DIST_URL
74
74
Nexus: https://repository.apache.org/content/repositories/orgapachelogging-<FIXME>
75
75
Signing key: 0x077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0
76
- Review kit: https://s .apache.org/logging-parent- release-review-kit
76
+ Review kit: https://logging .apache.org/logging-parent/ release-review-instructions.html
77
77
78
78
Please download, test, and cast your votes on this mailing list.
79
79
@@ -103,7 +103,7 @@ and components to assist the deployment for various use cases.
103
103
For further information (support, download, etc.) see the project
104
104
website[1].
105
105
106
- [1] $PROJECT_SITE
106
+ [1] $PROJECT_SITE /2.x/index.html
107
107
108
108
== Release Notes
109
109
EOF
0 commit comments