This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new a815fb34c [MINOR] fix(build): Fix some small bugs in the release
script (#4751)
a815fb34c is described below
commit a815fb34cff14c44462547733cb983dd2e21803b
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 29 10:32:15 2024 +0800
[MINOR] fix(build): Fix some small bugs in the release script (#4751)
### 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.
Co-authored-by: Jerry Shao <[email protected]>
---
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/\.\///")