Browse Source

Do not bump version in setup.py

pull/1826/head
Armin Ronacher 9 years ago
parent
commit
1eccb62965
  1. 7
      scripts/make-release.py

7
scripts/make-release.py

@ -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…
Cancel
Save