HADOOP-18158. Fix failure of create-release script due to releasedocmaker changes in branch-2.10 (#4055)
This commit is contained in:
parent
cb91880458
commit
efe515dbd5
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue