Skip to content

Commit

Permalink
Do not bump version in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed May 29, 2016
1 parent 0e06302 commit 1eccb62
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/make-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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__':
Expand Down

0 comments on commit 1eccb62

Please sign in to comment.