This is an automated email from the ASF dual-hosted git repository.

vinayakumarb pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new b4ba9be  HADOOP-16985. Handle release package related issues (#1957)
b4ba9be is described below

commit b4ba9bed7c591ee858fa6139060c984913e8e94f
Author: Vinayakumar B <vinayakum...@apache.org>
AuthorDate: Tue Apr 14 18:01:46 2020 +0530

    HADOOP-16985. Handle release package related issues (#1957)
    
    (cherry picked from commit 4d24d99e854e1718270a75807f7779a623758247)
---
 dev-support/bin/create-release                                 | 4 +++-
 hadoop-assemblies/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 f4851d1..39a5d0d 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 7c725d7..87169420 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 @@
         <exclude>**/build/**</exclude>
         <exclude>**/file:/**</exclude>
         <exclude>**/SecurityAuth.audit*</exclude>
+        <exclude>patchprocess/**</exclude>
       </excludes>
     </fileSet>
   </fileSets>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to