Author: Matti Picus <matti.pi...@gmail.com> Branch: Changeset: r97676:01482ac43e82 Date: 2019-09-29 14:35 +0300 http://bitbucket.org/pypy/pypy/changeset/01482ac43e82/
Log: check release branch has a -v in the name, avoid building old branches diff --git a/pypy/tool/release/force-builds.py b/pypy/tool/release/force-builds.py --- a/pypy/tool/release/force-builds.py +++ b/pypy/tool/release/force-builds.py @@ -95,4 +95,7 @@ except subprocess.CalledProcessError: print('branch', options.branch, 'could not be found in local repository') sys.exit(-1) + if options.branch.startswith('release') and not '-v' in options.branch: + print('release branches must be of the form "release.*-v.*') + sys.exit(-1) main(options.branch, options.server, user=options.user) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit