chore: allow bumping stable => beta (#15906)

This commit is contained in:
Shelley Vohr 2018-11-30 11:01:57 -08:00 committed by GitHub
parent 728be219a4
commit b8ec886609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ def main():
if args.bump == 'nightly': if args.bump == 'nightly':
version = get_next_nightly(curr_version) version = get_next_nightly(curr_version)
elif args.bump == 'beta': 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': elif args.bump == 'stable':
version = get_next_stable_from_stable(curr_version) version = get_next_stable_from_stable(curr_version)
else: else: