HADOOP-16985. Handle release package related issues (#1957)
(cherry picked from commit 4d24d99e85
)
This commit is contained in:
parent
94da630cd2
commit
b4ba9bed7c
|
@ -651,10 +651,12 @@ function signartifacts
|
||||||
|
|
||||||
big_console_header "Signing the release"
|
big_console_header "Signing the release"
|
||||||
|
|
||||||
for i in ${ARTIFACTS_DIR}/*; do
|
run cd "${ARTIFACTS_DIR}"
|
||||||
|
for i in *; do
|
||||||
${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}"
|
${GPG} --use-agent --armor --output "${i}.asc" --detach-sig "${i}"
|
||||||
sha512sum --tag "${i}" > "${i}.sha512"
|
sha512sum --tag "${i}" > "${i}.sha512"
|
||||||
done
|
done
|
||||||
|
run cd "${BASEDIR}"
|
||||||
|
|
||||||
if [[ "${ASFRELEASE}" = true ]]; then
|
if [[ "${ASFRELEASE}" = true ]]; then
|
||||||
echo "Fetching the Apache Hadoop KEYS file..."
|
echo "Fetching the Apache Hadoop KEYS file..."
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
<exclude>**/build/**</exclude>
|
<exclude>**/build/**</exclude>
|
||||||
<exclude>**/file:/**</exclude>
|
<exclude>**/file:/**</exclude>
|
||||||
<exclude>**/SecurityAuth.audit*</exclude>
|
<exclude>**/SecurityAuth.audit*</exclude>
|
||||||
|
<exclude>patchprocess/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
|
Loading…
Reference in New Issue