Skip to content

Commit b0782ff

Browse files
committed
reduce prerelease choices + proper default
1 parent fccdd8f commit b0782ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/release.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@ def is_valid_version_number(v: Text) -> bool:
165165
version = questionary.select(
166166
f"Which {version} do you want to release?",
167167
choices=[
168-
str(next_prerelease(current_version, version)),
169-
str(next_prerelease(current_version.next_patch(), version)),
170168
str(next_prerelease(current_version.next_minor(), version)),
169+
str(next_prerelease(current_version.next_patch(), version)),
171170
str(next_prerelease(current_version.next_major(), version)),
172171
],
173172
).ask()

0 commit comments

Comments
 (0)