Skip to content

Commit 77278fe

Browse files
fix the artifacts name issue (#3041)
1 parent d73341c commit 77278fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-wheel-linux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ jobs:
201201
if [[ "${{ inputs.cxx11-tarball-release }}" == "true" ]]; then
202202
bazel build //:libtorchtrt --compilation_mode opt --config=default
203203
cp bazel-bin/libtorchtrt.tar.gz \
204-
release/tarball/libtorchtrt-${TORCHTRT_VERSION}-tensorrt${TENSORRT_VERSION}-cuda${CU_VERSION}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz
204+
release/tarball/libtorchtrt-${BUILD_VERSION}-tensorrt${TRT_VERSION}-cuda${CU_VERSION:2}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz
205205
else
206206
${CONDA_RUN} python setup.py bdist_wheel --release
207207
208208
cp bazel-bin/libtorchtrt.tar.gz \
209-
release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION}-libtorch${BUILD_VERSION}-x86_64-linux.tar.gz
209+
release/tarball/libtorchtrt-${BUILD_VERSION}-pre-cxx11-abi-tensorrt${TRT_VERSION}-cuda${CU_VERSION:2}-libtorch${PYTORCH_VERSION}-x86_64-linux.tar.gz
210210
211211
${CONDA_RUN} python -m pip install auditwheel
212212
${CONDA_RUN} python -m auditwheel repair \

0 commit comments

Comments
 (0)