From 77278fe395d6ffdd456fd7a8a94852cd27ee63a9 Mon Sep 17 00:00:00 2001 From: lanluo-nvidia Date: Fri, 26 Jul 2024 13:01:41 -0700 Subject: [PATCH] fix the artifacts name issue (#3041) --- .github/workflows/release-wheel-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-wheel-linux.yml b/.github/workflows/release-wheel-linux.yml index 3977b82336..7f3cef4801 100644 --- a/.github/workflows/release-wheel-linux.yml +++ b/.github/workflows/release-wheel-linux.yml @@ -201,12 +201,12 @@ jobs: if [[ "${{ inputs.cxx11-tarball-release }}" == "true" ]]; then bazel build //:libtorchtrt --compilation_mode opt --config=default cp bazel-bin/libtorchtrt.tar.gz \ - release/tarball/libtorchtrt-${TORCHTRT_VERSION}-tensorrt${TENSORRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz + release/tarball/libtorchtrt-${BUILD_VERSION}-tensorrt${TRT_VERSION}-cuda${CU_VERSION:2}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz else ${CONDA_RUN} python setup.py bdist_wheel --release cp bazel-bin/libtorchtrt.tar.gz \ - release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${BUILD_VERSION}-x86_64-linux.tar.gz + release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION:2}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz ${CONDA_RUN} python -m pip install auditwheel ${CONDA_RUN} python -m auditwheel repair \