mirror of https://github.com/pallets/flask.git
				
				
				
			Do not bump version in setup.py
This commit is contained in:
		
							parent
							
								
									0e06302c79
								
							
						
					
					
						commit
						1eccb62965
					
				|  | @ -80,11 +80,6 @@ def set_init_version(version): | |||
|     set_filename_version('flask/__init__.py', version, '__version__') | ||||
| 
 | ||||
| 
 | ||||
| def set_setup_version(version): | ||||
|     info('Setting setup.py version to %s', version) | ||||
|     set_filename_version('setup.py', version, 'version') | ||||
| 
 | ||||
| 
 | ||||
| def build_and_upload(): | ||||
|     Popen([sys.executable, 'setup.py', 'release', 'sdist', 'bdist_wheel', 'upload']).wait() | ||||
| 
 | ||||
|  | @ -140,12 +135,10 @@ def main(): | |||
|         fail('You have uncommitted changes in git') | ||||
| 
 | ||||
|     set_init_version(version) | ||||
|     set_setup_version(version) | ||||
|     make_git_commit('Bump version number to %s', version) | ||||
|     make_git_tag(version) | ||||
|     build_and_upload() | ||||
|     set_init_version(dev_version) | ||||
|     set_setup_version(dev_version) | ||||
| 
 | ||||
| 
 | ||||
| if __name__ == '__main__': | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue