This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 1a1d27cfc4 [Misc] Fix Release Package Test Script (#18153)
1a1d27cfc4 is described below
commit 1a1d27cfc4b2698bcc13873f3abdf0d6a06713f3
Author: ysh329 <[email protected]>
AuthorDate: Thu Jul 17 20:56:19 2025 +0800
[Misc] Fix Release Package Test Script (#18153)
* [COMMUNITY] Add new key for release signing
* [Misc] Update test_release_package.sh
Fix release script according tianqi advice
(https://github.com/apache/tvm/issues/17861#issuecomment-2818271057).
---
tests/scripts/release/test_release_package.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/scripts/release/test_release_package.sh
b/tests/scripts/release/test_release_package.sh
index 186ed9dda3..18ae5d4d9e 100644
--- a/tests/scripts/release/test_release_package.sh
+++ b/tests/scripts/release/test_release_package.sh
@@ -79,7 +79,7 @@ echo "[6/9] Unzip ..."
tar -zxf apache-tvm-src-${version_rc}.tar.gz
echo "[7/9] Checking whether binary in source code ..."
-output=`find apache-tvm-src-${version_rc} -type f -exec file {} + | grep -w
"ELF\|shared object"`
+output=`find apache-tvm-src-${version} -type f -exec file {} + | grep -w
"ELF\|shared object"`
if [[ -n "$output" ]]; then
echo "Error: ELF or shared object files found:"
echo "$output"
@@ -87,7 +87,7 @@ if [[ -n "$output" ]]; then
fi
echo "[8/9] Compile and Python Import on Linux ..."
-cd apache-tvm-src-${version_rc}
+cd apache-tvm-src-${version}
mkdir build
cd build
cp ../cmake/config.cmake .