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

porcelli pushed a commit to branch 10.1.x
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 60374d49 Update zip-sources-all.sh
60374d49 is described below

commit 60374d49694a12b4eaa90b2e2f3d5766297e215b
Author: Alex Porcelli <[email protected]>
AuthorDate: Tue Jun 17 09:47:42 2025 -0400

    Update zip-sources-all.sh
---
 tools/zip-sources-all.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tools/zip-sources-all.sh b/tools/zip-sources-all.sh
index c1bb362e..de4eae6e 100755
--- a/tools/zip-sources-all.sh
+++ b/tools/zip-sources-all.sh
@@ -69,7 +69,7 @@ function zip_sources() {
       exit 1
     fi
 
-    #Remove unnecessary dirs
+    #Remove unnecessary content
     pushd $REPO_DIRECTORY
     CURRENT_DIRECTORY=$(pwd)
     echo "Current directory is ${CURRENT_DIRECTORY}"
@@ -80,6 +80,8 @@ function zip_sources() {
         echo ".git directory found, deleting..."
         rm -rf ".git"
     fi
+    echo "remove legal files"
+    rm -f "LICENSE" "NOTICE" "DISCLAIMER" "DISCLAIMER-WIP" 
"LICENSE-Apache-2.0.txt" "LICENSE.txt"
     echo "After .git removal"
     ls -lha
     popd
@@ -87,8 +89,8 @@ function zip_sources() {
   done <<< $SOURCES_REPOSITORIES
 
   #Add LICENSE, NOTICE and DISCLAIMER files to the root folder of the zip file
-  echo "Adding LICENSE, NOTICE and DISCLAIMER files to the zip file"
-  cp ./tools/zip-sources-files/{LICENSE,NOTICE,DISCLAIMER} 
${SOURCES_DIRECTORY_NAME}
+  echo "Adding LICENSE, NOTICE, DISCLAIMER-WIP, BUILD and build.sh files to 
the zip file"
+  cp ./tools/zip-sources-files/{LICENSE,NOTICE,DISCLAIMER-WIP,BUILD,build.sh} 
${SOURCES_DIRECTORY_NAME}
 
   #Creating ZIP
   pushd ${SOURCES_DIRECTORY_NAME}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to