diff --git a/packaging/build_conda.sh b/packaging/build_conda.sh index 6d9110d5..81b5f924 100755 --- a/packaging/build_conda.sh +++ b/packaging/build_conda.sh @@ -7,6 +7,9 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" VERSION=$(python -c "exec(open('${script_dir}/../pytorch3d/__init__.py').read()); print(__version__)") +# Prevent dev tag in the version string. +export BUILD_VERSION=$VERSION + export BUILD_TYPE=conda setup_env "$VERSION" export SOURCE_ROOT_DIR="$PWD"