Skip to content

Commit 1eccb62

Browse files
committed
Do not bump version in setup.py
1 parent 0e06302 commit 1eccb62

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/make-release.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ def set_init_version(version):
8080
set_filename_version('flask/__init__.py', version, '__version__')
8181

8282

83-
def set_setup_version(version):
84-
info('Setting setup.py version to %s', version)
85-
set_filename_version('setup.py', version, 'version')
86-
87-
8883
def build_and_upload():
8984
Popen([sys.executable, 'setup.py', 'release', 'sdist', 'bdist_wheel', 'upload']).wait()
9085

@@ -140,12 +135,10 @@ def main():
140135
fail('You have uncommitted changes in git')
141136

142137
set_init_version(version)
143-
set_setup_version(version)
144138
make_git_commit('Bump version number to %s', version)
145139
make_git_tag(version)
146140
build_and_upload()
147141
set_init_version(dev_version)
148-
set_setup_version(dev_version)
149142

150143

151144
if __name__ == '__main__':

0 commit comments

Comments
 (0)