mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									fa81953380
								
							
						
					
					
						commit
						f580ce1385
					
				@ -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"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user