Skip to content

Commit f580ce1

Browse files
bottlerfacebook-github-bot
authored andcommitted
Fix BUILD_VERSION for conda
Summary: D20426113 made a mistake, in that it added a dev tag to all conda builds. This makes the simplest fix, which is to never have the dev tag. Reviewed By: nikhilaravi Differential Revision: D20468541 fbshipit-source-id: adc71b58d59356834d33f65a75cf8ba84359bc74
1 parent fa81953 commit f580ce1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packaging/build_conda.sh

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
77

88
VERSION=$(python -c "exec(open('${script_dir}/../pytorch3d/__init__.py').read()); print(__version__)")
99

10+
# Prevent dev tag in the version string.
11+
export BUILD_VERSION=$VERSION
12+
1013
export BUILD_TYPE=conda
1114
setup_env "$VERSION"
1215
export SOURCE_ROOT_DIR="$PWD"

0 commit comments

Comments
 (0)