From b4ba9bed7c591ee858fa6139060c984913e8e94f Mon Sep 17 00:00:00 2001 From: Vinayakumar B Date: Tue, 14 Apr 2020 18:01:46 +0530 Subject: [PATCH] HADOOP-16985. Handle release package related issues (#1957) (cherry picked from commit 4d24d99e854e1718270a75807f7779a623758247) --- dev-support/bin/create-release | 4 +++- .../src/main/resources/assemblies/hadoop-src.xml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release index f4851d1c76..39a5d0d319 100755 --- a/dev-support/bin/create-release +++ b/dev-support/bin/create-release @@ -651,10 +651,12 @@ function signartifacts 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}" sha512sum --tag "${i}" > "${i}.sha512" done + run cd "${BASEDIR}" if [[ "${ASFRELEASE}" = true ]]; then echo "Fetching the Apache Hadoop KEYS file..." diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml index 7c725d73e0..8716942093 100644 --- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml @@ -56,6 +56,7 @@ **/build/** **/file:/** **/SecurityAuth.audit* + patchprocess/**