From b8ec8866090344a8cd2e485d5487efa5183ad2de Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 30 Nov 2018 11:01:57 -0800 Subject: [PATCH] chore: allow bumping stable => beta (#15906) --- script/bump-version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bump-version.py b/script/bump-version.py index 769c23735e85..5268bde99034 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -72,7 +72,7 @@ def main(): if args.bump == 'nightly': version = get_next_nightly(curr_version) elif args.bump == 'beta': - raise Exception("You can\'t bump to a beta from stable") + version = get_next_beta(curr_version) elif args.bump == 'stable': version = get_next_stable_from_stable(curr_version) else: