Skip to content

Commit 279b2b4

Browse files
Fix the build name issue: cherry pick from 3041 back to main (#3042)
1 parent a55c139 commit 279b2b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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)