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

yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 17abedbe9 [MINOR] fix(build): Fix some small bugs in the release 
script (#4750)
17abedbe9 is described below

commit 17abedbe9eec370db38b307433239d3effb7bd9e
Author: Jerry Shao <[email protected]>
AuthorDate: Wed Aug 28 18:24:13 2024 -0700

    [MINOR] fix(build): Fix some small bugs in the release script (#4750)
    
    ### What changes were proposed in this pull request?
    
    This PR proposes to fix two small bugs in the release script:
    
    1. Add the python Gravitino package to SVN.
    2. Exclude several modules when publishing to Maven.
    
    ### Why are the changes needed?
    
    Improve the script.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual verification.
---
 dev/release/release-build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh
index d6d4ca5d4..3fd74e9ef 100755
--- a/dev/release/release-build.sh
+++ b/dev/release/release-build.sh
@@ -250,6 +250,7 @@ if [[ "$1" == "package" ]]; then
 
     echo "Copying release tarballs"
     cp gravitino-* "svn-gravitino/${DEST_DIR_NAME}/"
+    cp apache_gravitino-* "svn-gravitino/${DEST_DIR_NAME}/"
     svn add "svn-gravitino/${DEST_DIR_NAME}"
 
     cd svn-gravitino
@@ -333,7 +334,7 @@ if [[ "$1" == "publish-release" ]]; then
   if ! is_dry_run; then
     nexus_upload=$NEXUS_ROOT/deployByRepositoryId/$staged_repo_id
     echo "Uploading files to $nexus_upload"
-    for file in $(find . -type f)
+    for file in $(find . -type f -not -path "./docs/*" -not -path "./web/*")
     do
       # strip leading ./
       file_short=$(echo $file | sed -e "s/\.\///")

Reply via email to