HADOOP-18158. Fix failure of create-release script due to releasedocmaker changes in branch-2.10 (#4055)

This commit is contained in:
Masatake Iwasaki 2022-03-10 00:35:47 +09:00 committed by GitHub
parent cb91880458
commit efe515dbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -557,8 +557,8 @@ function makearelease
#shellcheck disable=SC2038 #shellcheck disable=SC2038
find . -name rat.txt | xargs -I% cat % > "${ARTIFACTS_DIR}/hadoop-${HADOOP_VERSION}${RC_LABEL}-rat.txt" find . -name rat.txt | xargs -I% cat % > "${ARTIFACTS_DIR}/hadoop-${HADOOP_VERSION}${RC_LABEL}-rat.txt"
# Stage CHANGES and RELEASENOTES files # Stage CHANGELOG and RELEASENOTES files
for i in CHANGES RELEASENOTES; do for i in CHANGELOG RELEASENOTES; do
run cp -p \ run cp -p \
"${BASEDIR}/hadoop-common-project/hadoop-common/src/site/markdown/release/${HADOOP_VERSION}"/${i}*.md \ "${BASEDIR}/hadoop-common-project/hadoop-common/src/site/markdown/release/${HADOOP_VERSION}"/${i}*.md \
"${ARTIFACTS_DIR}/${i}.md" "${ARTIFACTS_DIR}/${i}.md"

View File

@ -856,6 +856,8 @@
<argument>--projecttitle</argument> <argument>--projecttitle</argument>
<argument>"Apache Hadoop"</argument> <argument>"Apache Hadoop"</argument>
<argument>--usetoday</argument> <argument>--usetoday</argument>
<argument>--fileversions</argument>
<argument>--dirversions</argument>
<argument>--version</argument> <argument>--version</argument>
<argument>${project.version}</argument> <argument>${project.version}</argument>
</arguments> </arguments>