mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 13:48:09 +00:00
fix: always skip current bump in devtools tag release notes
The tag command runs after the bump PR is merged, so the bump commit is in history regardless of --dry-run. Passing bump_already_done=not dry_run caused dry-run previews to use the bump commit as the range start and produce empty release notes.
This commit is contained in:
@@ -2086,7 +2086,7 @@ def tag(dry_run: bool, no_edit: bool) -> None:
|
||||
console.print("[green]✓[/green] main branch up to date")
|
||||
|
||||
release_notes, openai_client, is_prerelease = _generate_release_notes(
|
||||
version, tag_name, no_edit, bump_already_done=not dry_run
|
||||
version, tag_name, no_edit, bump_already_done=True
|
||||
)
|
||||
|
||||
docs_branch = _update_docs_and_create_pr(
|
||||
|
||||
Reference in New Issue
Block a user