Skip to content

Commit

Permalink
fix: Add required param to args
Browse files Browse the repository at this point in the history
  • Loading branch information
bennetrr committed Mar 22, 2024
1 parent 60d9c5e commit 6c8b72a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def main() -> None:
'--prefix',
dest='prefix',
type=str,
required=False,
default='v',
help='The prefix that should be prepended to the version.'
)
Expand All @@ -305,6 +306,7 @@ def main() -> None:
'--suffix',
dest='suffix',
type=nullable_string,
required=False,
default='',
help='The suffix that should be appended to the version (e.g. `beta`).'
)
Expand All @@ -313,6 +315,7 @@ def main() -> None:
'--previous-version-suffix',
dest='previous_version_suffix',
type=nullable_string,
required=False,
default='',
help='The suffix that should be replaced with the value in `suffix`.'
)
Expand All @@ -321,6 +324,7 @@ def main() -> None:
'--bumping-suffix',
dest='bumping_suffix',
type=str,
required=False,
default='hotfix',
help='The suffix to append to the version (or increment if it already exists) if `only-bump-suffix` is `true`.'
)
Expand All @@ -329,6 +333,7 @@ def main() -> None:
'--only-bump-suffix',
dest='only_bump_suffix',
type=parse_bool,
required=False,
default='false',
help='Bump the `bumping-suffix` instead of the version if changes were detected.'
)
Expand All @@ -337,6 +342,7 @@ def main() -> None:
'--create-tag',
dest='create_tag',
type=parse_bool,
required=False,
default='true',
help='Create a git tag for the version and push it if a remote is configured.'
)
Expand Down

0 comments on commit 6c8b72a

Please sign in to comment.