Skip to content

Commit f5215cf

Browse files
committed
fix syntax error
1 parent 46d4947 commit f5215cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/release.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def is_valid_version_number(v: Text) -> bool:
147147
if version in PRERELEASE_FLAVORS and not current_version.prerelease:
148148
# at this stage it's hard to guess the kind of version bump the
149149
# releaser wants, so we ask them
150-
if version == "alpha"
150+
if version == "alpha":
151151
choices = [
152152
str(current_version.next_alpha("minor")),
153153
str(current_version.next_alpha("micro")),
@@ -160,8 +160,7 @@ def is_valid_version_number(v: Text) -> bool:
160160
str(current_version.next_release_candidate("major")),
161161
]
162162
version = questionary.select(
163-
f"Which {version} do you want to release?",
164-
choices=choices,
163+
f"Which {version} do you want to release?", choices=choices,
165164
).ask()
166165

167166
if version:

0 commit comments

Comments
 (0)