File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ stderr() {
2828
2929fail_for_invalid_args () {
3030 stderr " Invalid arguments!"
31- stderr " Expected arguments: <vote|announce> <version> <commitId>"
31+ stderr " Expected arguments: <vote|announce> <version> <commitId> <nexusUrl> "
3232 exit 1
3333}
3434
3535# Check arguments
36- [ $# -ne 3 ] && fail_for_invalid_args
36+ [ $# -ne 4 ] && fail_for_invalid_args
3737
3838# Constants
3939PROJECT_NAME=" Apache Log4j"
@@ -43,6 +43,7 @@ PROJECT_SITE="https://logging.apache.org/$PROJECT_ID"
4343PROJECT_STAGING_SITE=" ${PROJECT_SITE/ apache.org/ staged.apache.org} "
4444PROJECT_REPO=" https://github.com/apache/logging-log4j2"
4545COMMIT_ID=" $3 "
46+ NEXUS_URL=" $4 "
4647PROJECT_DIST_URL=" https://dist.apache.org/repos/dist/dev/logging/$PROJECT_ID /$PROJECT_VERSION "
4748
4849# Check release notes file
@@ -71,7 +72,7 @@ Website: $PROJECT_STAGING_SITE/$PROJECT_VERSION/index.html
7172GitHub: $PROJECT_REPO
7273Commit: $COMMIT_ID
7374Distribution: $PROJECT_DIST_URL
74- Nexus: https://repository.apache.org/content/repositories/orgapachelogging-<FIXME>
75+ Nexus: $NEXUS_URL
7576Signing key: 0x077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0
7677Review kit: https://logging.apache.org/logging-parent/release-review-instructions.html
7778
You can’t perform that action at this time.
0 commit comments