Tweaked Fabric release command.
				
					
				
			This commit is contained in:
		
							parent
							
								
									b2fdbbc60d
								
							
						
					
					
						commit
						3d9292ef4c
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								fabfile.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								fabfile.py
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -23,6 +23,7 @@
 | 
			
		|||
################################################################################
 | 
			
		||||
 | 
			
		||||
import os.path
 | 
			
		||||
import shutil
 | 
			
		||||
 | 
			
		||||
from fabric.api import *
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -36,7 +37,8 @@ def release():
 | 
			
		|||
    Release a new version of 'rattail.hw.cognitive'.
 | 
			
		||||
    """
 | 
			
		||||
 | 
			
		||||
    local("python setup.py egg_info --tag-build='' sdist --formats=gztar register upload")
 | 
			
		||||
    shutil.rmtree('rattail.egg-info')
 | 
			
		||||
    local('python setup.py sdist --formats=gztar register upload')
 | 
			
		||||
 | 
			
		||||
    filename = 'rattail.hw.cognitive-{0}.tar.gz'.format(__version__)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue