This is an automated email from the ASF dual-hosted git repository.
jshao 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 7d93d7e27e [#6834] fix(release-build): wrong path of license + notice
bin files (#6843)
7d93d7e27e is described below
commit 7d93d7e27ea58c4d3f74796f9267ef1983af96be
Author: AndreVale69 <[email protected]>
AuthorDate: Thu Apr 3 18:31:35 2025 +0200
[#6834] fix(release-build): wrong path of license + notice bin files (#6843)
### What changes were proposed in this pull request?
Set correct path to
[LICENSE.bin](https://github.com/apache/gravitino/blob/main/web/web/LICENSE.bin)
and
[NOTICE.bin](https://github.com/apache/gravitino/blob/main/web/web/NOTICE.bin)
files in release-build.sh
### Why are the changes needed?
The two bin files weren't removed after the build.
Fix: #6834
### Does this PR introduce _any_ user-facing change?
_None_
### How was this patch tested?
Not necessary, you can see where the files are just by browsing them.
---
dev/release/release-build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh
index 4654a7881c..3e4ab9515c 100755
--- a/dev/release/release-build.sh
+++ b/dev/release/release-build.sh
@@ -207,8 +207,8 @@ if [[ "$1" == "package" ]]; then
rm -f gravitino-$GRAVITINO_VERSION-src/NOTICE.rest
rm -f gravitino-$GRAVITINO_VERSION-src/LICENSE.trino
rm -f gravitino-$GRAVITINO_VERSION-src/NOTICE.trino
- rm -f gravitino-$GRAVITINO_VERSION-src/web/LICENSE.bin
- rm -f gravitino-$GRAVITINO_VERSION-src/web/NOTICE.bin
+ rm -f gravitino-$GRAVITINO_VERSION-src/web/web/LICENSE.bin
+ rm -f gravitino-$GRAVITINO_VERSION-src/web/web/NOTICE.bin
rm -f *.asc
tar cvzf gravitino-$GRAVITINO_VERSION-src.tar.gz --exclude
gravitino-$GRAVITINO_VERSION-src/.git gravitino-$GRAVITINO_VERSION-src