Skip to content

Commit 0e5936d

Browse files
committed
attempt 4
1 parent fab1635 commit 0e5936d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packaging/pre_build_script.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ if [[ ${TENSORRT_VERSION} != "" ]]; then
2626
# example: __tensorrt_version__: ">=10.3.0,<=10.6.0"
2727
# replace: tensorrt-cu12>=10.3.0,<=10.6.0 to tensorrt-cu12==10.8.0
2828
current_version=$(cat dev_dep_versions.yml | grep __tensorrt_version__ | sed 's/__tensorrt_version__: //g' | sed 's/"//g')
29-
sed -i -e "s/tensorrt-cu12${current_version}/tensorrt-cu12==${TENSORRT_VERSION}/g" \
30-
-e "s/tensorrt-cu12-bindings${current_version}/tensorrt-cu12-bindings==${TENSORRT_VERSION}/g" \
31-
-e "s/tensorrt-cu12-libs${current_version}/tensorrt-cu12-libs==${TENSORRT_VERSION}/g" \
29+
sed -i -e "s/tensorrt-cu12==${current_version}/tensorrt-cu12==${TENSORRT_VERSION}/g" \
30+
-e "s/tensorrt-cu12-bindings==${current_version}/tensorrt-cu12-bindings==${TENSORRT_VERSION}/g" \
31+
-e "s/tensorrt-cu12-libs==${current_version}/tensorrt-cu12-libs==${TENSORRT_VERSION}/g" \
3232
pyproject.toml
3333
fi
3434

0 commit comments

Comments
 (0)