Skip to content

Commit 82be073

Browse files
committed
chore(release): parse the target version as an argument
1 parent 9ad3e29 commit 82be073

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/release.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ def main(argv: Sequence[str] | None = None) -> int: # noqa: PLR0911, PLR0915
3737
# Parse command-line arguments.
3838
parser = argparse.ArgumentParser(description="prepare a new release")
3939
parser.add_argument(
40-
"--version",
40+
"version",
4141
type=Version,
42-
required=True,
4342
help="provide the release version",
4443
)
4544
parser.add_argument(

0 commit comments

Comments
 (0)