Skip to content

Commit

Permalink
Update release.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa-aadlv authored Dec 2, 2024
1 parent 19b87fe commit 27c4184
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ def main(args: argparse.Namespace) -> None:
version = parse_next_version(args.next_version)
else:
version = next_version(args)
confirm_version(version)
# Skip confirmation if --next_version is provided
if not args.next_version:
confirm_version(version)

write_version_file(version)
write_version_to_pyproject(version)
Expand Down

0 comments on commit 27c4184

Please sign in to comment.